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 d7adde7 commit 27f6fc8Copy full SHA for 27f6fc8
test/unit/hdf5dbTest.py
@@ -799,7 +799,12 @@ def testCreateVlenReferenceAttribute(self):
799
base_type = attr_type["base"]
800
# todo - this should be H5T_REFERENCE, not H5T_OPAQUE
801
# See h5py issue: https://github.com/h5py/h5py/issues/553
802
- self.assertEqual(base_type["class"], "H5T_OPAQUE")
+ import h5py
803
+ # test based on h5py version until we change install requirements
804
+ if h5py.version.version_tuple[1] >= 6:
805
+ self.assertEqual(base_type["class"], "H5T_REFERENCE")
806
+ else:
807
+ self.assertEqual(base_type["class"], "H5T_OPAQUE")
808
809
def testCreateReferenceListAttribute(self):
810
filepath = getFile('empty.h5', 'createreferencelistattribute.h5')
0 commit comments