Skip to content

Commit 72c0ebf

Browse files
Update nibabel/tests/test_minc2.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 489b9d2 commit 72c0ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/tests/test_minc2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ def test_bad_diminfo():
129129
# File has a bad spacing field 'xspace' when it should be
130130
# `irregular`, `regular__` or absent (default to regular__).
131131
# We interpret an invalid spacing as absent, but warn.
132-
with pytest.warns(UserWarning) as _:
132+
with pytest.warns(UserWarning):
133133
Minc2Image.from_filename(fname)

0 commit comments

Comments
 (0)