Skip to content

Commit 32d0109

Browse files
Update nibabel/tests/test_testing.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 6daadc8 commit 32d0109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/tests/test_testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_warn_ignore():
133133
with suppress_warnings():
134134
warnings.warn('Here is a warning, you will not see it')
135135
warnings.warn('Nor this one', DeprecationWarning)
136-
with suppress_warnings() as _:
136+
with suppress_warnings():
137137
warnings.warn('Here is a warning, you will not see it')
138138
warnings.warn('Nor this one', DeprecationWarning)
139139
assert n_warns == len(warnings.filters)

0 commit comments

Comments
 (0)