diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:10:12 +0100 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-01-06 14:10:12 +0100 |
commit | b3bea947efa55d2c0f198b6c6795b3177be27f45 (patch) | |
tree | 4116758aafe4483bf472c1d54b519e685737fd77 /silx/io/test/test_spectoh5.py | |
parent | 5ad425ff4e62f5e003178813ebd073577679a00e (diff) |
New upstream version 0.14.0+dfsg
Diffstat (limited to 'silx/io/test/test_spectoh5.py')
-rw-r--r-- | silx/io/test/test_spectoh5.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/silx/io/test/test_spectoh5.py b/silx/io/test/test_spectoh5.py index c3f03e9..903a62c 100644 --- a/silx/io/test/test_spectoh5.py +++ b/silx/io/test/test_spectoh5.py @@ -33,6 +33,7 @@ import h5py from ..spech5 import SpecH5, SpecH5Group from ..convert import convert, write_to_h5 +from ..utils import h5py_read_dataset __authors__ = ["P. Knobel"] __license__ = "MIT" @@ -129,7 +130,7 @@ class TestConvertSpecHDF5(unittest.TestCase): def testTitle(self): """Test the value of a dataset""" - title12 = self.h5f["/1.2/title"][()] + title12 = h5py_read_dataset(self.h5f["/1.2/title"]) self.assertEqual(title12, u"aaaaaa") |