Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tests fail with new inkscape #20617

Copy link
Copy link
Closed
@MeggyCal

Description

@MeggyCal
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.