We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6daadc8 commit 32d0109Copy full SHA for 32d0109
nibabel/tests/test_testing.py
@@ -133,7 +133,7 @@ def test_warn_ignore():
133
with suppress_warnings():
134
warnings.warn('Here is a warning, you will not see it')
135
warnings.warn('Nor this one', DeprecationWarning)
136
- with suppress_warnings() as _:
+ with suppress_warnings():
137
138
139
assert n_warns == len(warnings.filters)
0 commit comments