Skip to content

Commit 1dc4e8d

Browse files
effigiesdjarecka
andauthored
Update nibabel/streamlines/tests/test_tck.py
Co-authored-by: Dorota Jarecka <[email protected]>
1 parent f1bfc39 commit 1dc4e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/streamlines/tests/test_tck.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_load_file_with_wrong_information(self):
116116

117117
# Simulate a TCK file with no `file` field.
118118
new_tck_file = tck_file.replace(b"\nfile: . 67", b"")
119-
with pytest.warns(HeaderWarning, matches="Missing 'file'") as w:
119+
with pytest.warns(HeaderWarning, match="Missing 'file'") as w:
120120
tck = TckFile.load(BytesIO(new_tck_file))
121121
assert_array_equal(tck.header['file'], ". 56")
122122

0 commit comments

Comments
 (0)