MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / test_hdf5

Method test_hdf5

tensorpack/dataflow/serialize_test.py:90–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 'Skip test_numpy, no numpy available')
89
90 def test_hdf5(self):
91 args = [['label', 'image']]
92 with tempfile.TemporaryDirectory() as f:
93 self.run_write_read_test(
94 os.path.join(f, 'test.h5'),
95 HDF5Serializer,
96 args, {},
97 args, {'shuffle': False},
98 'Skip test_hdf5, no h5py available')
99
100
101if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

run_write_read_testMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected