Skip to content

Commit b7a5f5a

Browse files
Update nibabel/streamlines/tests/test_tck.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent de9f2b0 commit b7a5f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/streamlines/tests/test_tck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_load_file_with_wrong_information(self):
137137

138138
# Simulate a TCK file with no `file` field.
139139
new_tck_file = tck_file.replace(b'\nfile: . 67', b'')
140-
with pytest.warns(HeaderWarning, match="Missing 'file'") as _:
140+
with pytest.warns(HeaderWarning, match="Missing 'file'"):
141141
tck = TckFile.load(BytesIO(new_tck_file))
142142
assert_array_equal(tck.header['file'], '. 56')
143143

0 commit comments

Comments
 (0)