Skip to content

Commit 46c8487

Browse files
Update nibabel/gifti/tests/test_gifti.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent eeab46f commit 46c8487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/gifti/tests/test_gifti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def test_metadata_list_interface():
366366
assert md == {'last': 'one'}
367367

368368
# And let's remove an old pair with a new object
369-
with pytest.warns(DeprecationWarning) as _:
369+
with deprecated_to('6.0'):
370370
lastoneagain = GiftiNVPairs('last', 'one')
371371
mdlist.remove(lastoneagain)
372372
assert len(mdlist) == 0

0 commit comments

Comments
 (0)