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

Method setUp

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

Source from the content-addressed store, hash-verified

2633 open_mode = "a"
2634
2635 def setUp(self):
2636 super().setUp()
2637
2638 # Create an EArray
2639 ea = self.h5file.create_earray(
2640 "/", "test", atom=tb.Int32Atom(), shape=(3, 0)
2641 )
2642 # Append a single row
2643 ea.append([[1], [2], [3]])
2644
2645 def test01_canAppend(self):
2646 """Appending zero length array."""

Callers

nothing calls this directly

Calls 3

create_earrayMethod · 0.80
setUpMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected