Skip to content

Commit f09dc0b

Browse files
committed
RF: remove redundant line in trk tests
Line superceded by test refactoring.
1 parent eac4f79 commit f09dc0b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nibabel/streamlines/tests/test_trk.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ def trk_with_bytes(self, trk_key='simple_trk_fname', endian='<'):
110110
return trk_struct, trk_bytes
111111

112112
def test_load_file_with_wrong_information(self):
113-
trk_file = open(DATA['simple_trk_fname'], 'rb').read()
114-
115113
# Simulate a TRK file where `count` was not provided.
116114
trk_struct, trk_bytes = self.trk_with_bytes()
117115
trk_struct[Field.NB_STREAMLINES] = 0

0 commit comments

Comments
 (0)