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

Failure of test_surface.py::test_sampling_affine using pre-release dependencies #4328

Closed
Remi-Gau opened this issue Mar 19, 2024 · 0 comments · Fixed by #4349
Closed

Failure of test_surface.py::test_sampling_affine using pre-release dependencies #4328

Remi-Gau opened this issue Mar 19, 2024 · 0 comments · Fixed by #4349

Comments

@Remi-Gau
Copy link
Collaborator

Seen on this workflow.

https://github.com/nilearn/nilearn/actions/runs/8349027568/job/22852309799?pr=4289

This is a new failure of this test:

def test_sampling_affine(affine_eye):

To reproduce:

tox run -e test_pre -- nilearn/surface/tests/test_surface.py::test_sampling_affine

Pytest failure

args = (<built-in function eq>, array([1., 2., 1.]), [1.0, 2.0, 1.0])
kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True}

    @wraps(func)
    def inner(*args, **kwds):
        with self._recreate_cm():
>           return func(*args, **kwds)
E           AssertionError: 
E           Arrays are not equal
E           
E           Mismatched elements: 3 / 3 (100%)
E           Max absolute difference: 4.4408921e-16
E           Max relative difference: 2.22044605e-16
E            x: array([1., 2., 1.])
E            y: array([1., 2., 1.])

args       = (<built-in function eq>, array([1., 2., 1.]), [1.0, 2.0, 1.0])
func       = <function assert_array_compare at 0x7ca53c64a980>
kwds       = {'err_msg': '',
 'header': 'Arrays are not equal',
 'strict': False,
 'verbose': True}
self       = <contextlib._GeneratorContextManager object at 0x7ca53c670810>
@Remi-Gau Remi-Gau changed the title Failure of test_surface.py::test_sampling_affine using pre-release dependencies Failure of test_surface.py::test_sampling_affine using pre-release dependencies Mar 19, 2024
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

Successfully merging a pull request may close this issue.

1 participant