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 489b9d2 commit 72c0ebfCopy full SHA for 72c0ebf
nibabel/tests/test_minc2.py
@@ -129,5 +129,5 @@ def test_bad_diminfo():
129
# File has a bad spacing field 'xspace' when it should be
130
# `irregular`, `regular__` or absent (default to regular__).
131
# We interpret an invalid spacing as absent, but warn.
132
- with pytest.warns(UserWarning) as _:
+ with pytest.warns(UserWarning):
133
Minc2Image.from_filename(fname)
0 commit comments