refactor tests to use context manager #3796
Labels
Effort: low
The issue is likely to require a small amount of work (less than a few hours).
Good first issue
Good for newcomers. Equivalent to "very low" effort.
Hackathon
Testing
The issue is related to testing.
Tests that check for errors or warnings and should use context manager.
Originally posted by @ymzayek in #3795 (comment)
Example:
This:
nilearn/nilearn/maskers/tests/test_multi_nifti_masker.py
Lines 26 to 32 in 8a7a80c
Should become:
video intros to:
See pytest documentation for more information:
list of files to to modify:
The text was updated successfully, but these errors were encountered: