Skip to content

Commit a8ba819

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

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
@@ -328,7 +328,7 @@ def test_metadata_list_interface():
328328
assert len(md) == 0
329329

330330
# Extension adds multiple keys
331-
with pytest.warns(DeprecationWarning) as _:
331+
with deprecated_to('6.0'):
332332
foobar = GiftiNVPairs('foo', 'bar')
333333
mdlist.extend([nvpair, foobar])
334334
assert len(mdlist) == 2

0 commit comments

Comments
 (0)