Skip to content

Commit 59d6291

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

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
@@ -336,7 +336,7 @@ def test_metadata_list_interface():
336336
assert md == {'key': 'value', 'foo': 'bar'}
337337

338338
# Insertion updates list order, though we don't attempt to preserve it in the dict
339-
with pytest.warns(DeprecationWarning) as _:
339+
with deprecated_to('6.0'):
340340
lastone = GiftiNVPairs('last', 'one')
341341
mdlist.insert(1, lastone)
342342
assert len(mdlist) == 3

0 commit comments

Comments
 (0)