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

Method setUp

tables/tests/test_tables.py:2782–2790  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2780 common.TempFileMixin, common.PyTablesTestCase
2781):
2782 def setUp(self):
2783 super().setUp()
2784
2785 # set chunkshape so it divides evenly into array_size, to avoid
2786 # partially filled chunks
2787 self.chunkshape = (1000,)
2788 self.dtype = np.rec.format_parser(["i4"] * 10, [], []).dtype
2789 # approximate size (in bytes) of non-data portion of hdf5 file
2790 self.hdf_overhead = 6000
2791
2792 def create_table(self, complevel):
2793 filters = tb.Filters(complevel=complevel, complib="blosc")

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected