8000 STY: consistency · nipy/nibabel@2e4f649 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e4f649

Browse files
STY: consistency
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
1 parent 3e25a79 commit 2e4f649

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/tests/test_analyze.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,8 @@ def test_data_hdr_cache(self):
728728
IC = self.image_class
729729
# save an image to a file map
730730
fm = IC.make_file_map()
731-
for key in fm:
732-
fm[key].fileobj = BytesIO()
731+
for value in fm.values():
732+
value.fileobj = BytesIO()
733733
shape = (2, 3, 4)
734734
data = np.arange(24, dtype=np.int8).reshape(shape)
735735
affine = np.eye(4)

0 commit comments

Comments
 (0)
0