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 3e25a79 commit 2e4f649Copy full SHA for 2e4f649
nibabel/tests/test_analyze.py
@@ -728,8 +728,8 @@ def test_data_hdr_cache(self):
728
IC = self.image_class
729
# save an image to a file map
730
fm = IC.make_file_map()
731
- for key in fm:
732
- fm[key].fileobj = BytesIO()
+ for value in fm.values():
+ value.fileobj = BytesIO()
733
shape = (2, 3, 4)
734
data = np.arange(24, dtype=np.int8).reshape(shape)
735
affine = np.eye(4)
0 commit comments