We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1bfc39 commit 1dc4e8dCopy full SHA for 1dc4e8d
nibabel/streamlines/tests/test_tck.py
@@ -116,7 +116,7 @@ def test_load_file_with_wrong_information(self):
116
117
# Simulate a TCK file with no `file` field.
118
new_tck_file = tck_file.replace(b"\nfile: . 67", b"")
119
- with pytest.warns(HeaderWarning, matches="Missing 'file'") as w:
+ with pytest.warns(HeaderWarning, match="Missing 'file'") as w:
120
tck = TckFile.load(BytesIO(new_tck_file))
121
assert_array_equal(tck.header['file'], ". 56")
122
0 commit comments