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