Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failing on some architectures #232

Open
juliangilbey opened this issue Mar 8, 2024 · 0 comments
Open

Test failing on some architectures #232

juliangilbey opened this issue Mar 8, 2024 · 0 comments

Comments

@juliangilbey
Copy link

mystic/tests/test_collapse.py fails at line 177 on several architectures on Debian (see https://tracker.debian.org/pkg/mystic): these include armel, armhf, i386 and ppc64el. Running the test manually, as the error message is quite uninformative, we find that on i386:

>>> ct.collapse_position(m, mask=((0,1,2),((0,1),(1,2),(0,2))))
((1, 1, 2), ((0, 2), (0, 1), (1, 2)))
>>> x = ct.collapse_position(m, mask=((0,1,2),((0,1),(1,2),(0,2))))
>>> x == ((1,1,2), ((0,1),(0,2),(1,2)))
False

The order of the elements in the second tuple has changed.

The test succeeds on other architectures (amd64, arm64, s390x), so it seems that there is something flaky about the order of the result here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant