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

Method setUp

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

Source from the content-addressed store, hash-verified

31 reopen = 1 # Tells whether the file has to be reopened on each test or not
32
33 def setUp(self):
34 super().setUp()
35 # Create an instance of an HDF5 Table
36 self.rootgroup = self.h5file.root
37 self.populateFile()
38 if self.reopen:
39 # Close the file
40 self.h5file.close()
41
42 def populateFile(self):
43 group = self.rootgroup

Callers 6

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

Calls 2

populateFileMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected