Skip to content

Commit 2fa3aa0

Browse files
committed
fix h5py version test
1 parent 24f12f3 commit 2fa3aa0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/hdf5dbTest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,7 @@ def testWriteCommittedCompoundType(self):
946946
# this is fixed in h5py v. 2.6.0 - check the version until 2.6.0 becomes
947947
# available via pip and anaconda.
948948
import h5py
949-
# fake error for testing
950-
if h5py.version.version_tuple[1] >= 7:
949+
if h5py.version.version_tuple[1] >= 6:
951950
field_classes = ('H5T_INTEGER', 'H5T_FLOAT', 'H5T_STRING', 'H5T_OPAQUE')
952951
else:
953952
field_classes = ('H5T_INTEGER', 'H5T_FLOAT', 'H5T_STRING', 'H5T_OPAQUE')

0 commit comments

Comments
 (0)