We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d33a05a commit 3e25a5dCopy full SHA for 3e25a5d
nibabel/tests/test_ecat.py
@@ -58,7 +58,7 @@ def test_dtype(self):
58
hdr.get_data_dtype()
59
60
def test_header_codes(self):
61
- fid = open(ecat_file, 'rb')
+ fid = open(self.example_file, 'rb')
62
hdr = self.header_class()
63
newhdr = hdr.from_fileobj(fid)
64
fid.close()
@@ -119,6 +119,7 @@ def test_mlist_errors(self):
119
hdr = self.header_class.from_fileobj(fid)
120
hdr['num_frames'] = 6
121
mlist = read_mlist(fid, hdr.endianness)
122
+ fid.close()
123
mlist = np.array([[1.68427540e+07, 3.00000000e+00,
124
1.20350000e+04, 1.00000000e+00],
125
[1.68427530e+07, 1.20360000e+04,
0 commit comments