Skip to content

tests fail with new inkscape #20617

@MeggyCal

Description

@MeggyCal

Bug report

Bug summary

One test of matplotlib 3.4.2 fail with inkscape 1.1. The tests passed with inkscape 1.0.2.

[  254s] ______________________ test_markevery_linear_scales[svg] _______________________
[  254s] [gw4] linux -- Python 3.9.5 /usr/bin/python3.9
[  254s] 
[  254s] expected = '/home/abuild/rpmbuild/BUILD/matplotlib-3.4.2/result_images/test_axes/markevery_linear_scales-expected.svg'
[  254s] actual = PosixPath('/home/abuild/rpmbuild/BUILD/matplotlib-3.4.2/result_images/test_axes/markevery_linear_scales.svg')
[  254s] tol = 0
[  254s] 
[  254s]     def _raise_on_image_difference(expected, actual, tol):
[  254s]         __tracebackhide__ = True
[  254s]     
[  254s]         err = compare_images(expected, actual, tol, in_decorator=True)
[  254s]         if err:
[  254s]             for key in ["actual", "expected", "diff"]:
[  254s]                 err[key] = os.path.relpath(err[key])
[  254s] >           raise ImageComparisonFailure(
[  254s]                 ('images not close (RMS %(rms).3f):'
[  254s]                     '\n\t%(actual)s\n\t%(expected)s\n\t%(diff)s') % err)
[  254s] E           matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 0.001):
[  254s] E           	result_images/test_axes/markevery_linear_scales_svg.png
[  254s] E           	result_images/test_axes/markevery_linear_scales-expected_svg.png
[  254s] E           	result_images/test_axes/markevery_linear_scales_svg-failed-diff.png

It fails with pytest 6.2.4 on Python 3.9 and 3.8. The failure was observed on x86_64 linux (the closest distro would be openSUSE Tumbleweed).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy