You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
____________________ ContourTest.test_contour_level_diag_0 _____________________
self = <plotpy.tests.unit.test_contour.ContourTest testMethod=test_contour_level_diag_0>
def test_contour_level_diag_0(self):
"""Test that contour() returns opened lines (diagonal) when level is 0.0"""
lines = compute_contours(self.Z, 0.0, self.X, self.Y)
> assert len(lines) == 1
E assert 4 == 1
E + where 4 = len([<plotpy.items.contour.ContourLine object at 0xffffa7c0e4d0>, <plotpy.items.contour.ContourLine object at 0xffffa7c0cb...lotpy.items.contour.ContourLine object at 0xffffa7c0c0d0>, <plotpy.items.contour.ContourLine object at 0xffffa7c0d0d0>])
plotpy/tests/unit/test_contour.py:42: AssertionError
So lines is supposed to have only one element, but on aarch64 it has 4. I have inspected the contents of lines[0] and lines[1] hoping this could help find out what is going on. These are all the contents of lines[0]:
In Debian we are seeing a test failure with PlotPy 2.4.0 on aarch64: https://bugs.debian.org/1075814
So
lines
is supposed to have only one element, but on aarch64 it has 4. I have inspected the contents oflines[0]
andlines[1]
hoping this could help find out what is going on. These are all the contents oflines[0]
:And the first few elements of
lines[1]
look like this:For reference, on a x86_64 system the first few elements of
lines[0]
are:The test failure can be reproduced reliably in the build tree as follows:
The text was updated successfully, but these errors were encountered: