MCPcopy Create free account
hub / github.com/PyTables/PyTables / setUp

Method setUp

tables/tests/test_carray.py:2840–2845  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2838class AccessClosedTestCase(common.TempFileMixin, common.PyTablesTestCase):
2839
2840 def setUp(self):
2841 super().setUp()
2842 self.array = self.h5file.create_carray(
2843 self.h5file.root, "array", atom=tb.Int32Atom(), shape=(10, 10)
2844 )
2845 self.array[...] = np.zeros((10, 10))
2846
2847 def test_read(self):
2848 self.h5file.close()

Callers

nothing calls this directly

Calls 2

create_carrayMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected