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 8b3d74b commit 68eac1cCopy full SHA for 68eac1c
nibabel/tests/test_volumeutils.py
@@ -947,9 +947,7 @@ def test_seek_tell():
947
# zeros in their wake. BZ2Files can't seek when writing,
948
# unless we enable the write0 flag to seek_tell
949
# ZstdFiles also does not support seek forward on write
950
- if (not write0 and
951
- (in_file == 'test.bz2' or
952
- in_file == 'test.zst')): # Can't seek write in bz2, zst
+ if (not write0 and in_file in ('test.bz2', 'test.zst')):
953
# write the zeros by hand for the read test below
954
fobj.write(b'\x00' * diff)
955
else:
0 commit comments