We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de9f2b0 commit b7a5f5aCopy full SHA for b7a5f5a
nibabel/streamlines/tests/test_tck.py
@@ -137,7 +137,7 @@ def test_load_file_with_wrong_information(self):
137
138
# Simulate a TCK file with no `file` field.
139
new_tck_file = tck_file.replace(b'\nfile: . 67', b'')
140
- with pytest.warns(HeaderWarning, match="Missing 'file'") as _:
+ with pytest.warns(HeaderWarning, match="Missing 'file'"):
141
tck = TckFile.load(BytesIO(new_tck_file))
142
assert_array_equal(tck.header['file'], '. 56')
143
0 commit comments