Skip to content

Commit 17a1eca

Browse files
committed
FIX: remove validation for remaining tests
1 parent 021e5de commit 17a1eca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/cifti2/tests/test_cifti2io_header.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_readwritedata():
8383
with InTemporaryDirectory():
8484
for name in datafiles:
8585
img = ci.load(name)
86-
ci.save(img, 'test.nii')
86+
ci.save(img, 'test.nii', validate=False)
8787
img2 = ci.load('test.nii')
8888
assert len(img.header.matrix) == len(img2.header.matrix)
8989
# Order should be preserved in load/save
@@ -109,7 +109,7 @@ def test_nibabel_readwritedata():
109109
with InTemporaryDirectory():
110110
for name in datafiles:
111111
img = nib.load(name)
112-
nib.save(img, 'test.nii')
112+
nib.save(img, 'test.nii', validate=False)
113113
img2 = nib.load('test.nii')
114114
assert len(img.header.matrix) == len(img2.header.matrix)
115115
# Order should be preserved in load/save

0 commit comments

Comments
 (0)