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

Method setUp

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

Source from the content-addressed store, hash-verified

2439 shape = (3_000_000_000,) # more than 2**31-1
2440
2441 def setUp(self):
2442 super().setUp()
2443 # This should be fast since disk space isn't actually allocated,
2444 # so this case is OK for non-heavy test runs.
2445 self.h5file.create_carray(
2446 "/", "array", atom=tb.Int8Atom(), shape=self.shape
2447 )
2448
2449 def test00_shape(self):
2450 """Check that the shape doesn't overflow."""

Callers

nothing calls this directly

Calls 2

create_carrayMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected