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

Method setUp

tables/tests/test_earray.py:2826–2831  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2824class AccessClosedTestCase(common.TempFileMixin, common.PyTablesTestCase):
2825
2826 def setUp(self):
2827 super().setUp()
2828 self.array = self.h5file.create_earray(
2829 self.h5file.root, "array", atom=tb.Int32Atom(), shape=(0, 10)
2830 )
2831 self.array.append(np.zeros((10, 10)))
2832
2833 def test_read(self):
2834 self.h5file.close()

Callers

nothing calls this directly

Calls 3

create_earrayMethod · 0.80
setUpMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected