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

Method setUp

tables/tests/test_create.py:40–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 compress = 0
39
40 def setUp(self):
41 super().setUp()
42
43 # Create an instance of HDF5 Table
44 self.root = self.h5file.root
45
46 # Create a table object
47 self.table = self.h5file.create_table(
48 self.root, "atable", Record, "Table title"
49 )
50 # Create an array object
51 self.array = self.h5file.create_array(
52 self.root, "anarray", [1], "Array title"
53 )
54 # Create a group object
55 self.group = self.h5file.create_group(
56 self.root, "agroup", "Group title"
57 )
58
59 def test00_isClass(self):
60 """Testing table creation."""

Callers 15

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 3

create_groupMethod · 0.80
create_tableMethod · 0.45
create_arrayMethod · 0.45

Tested by

no test coverage detected