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

Method setUp

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

Source from the content-addressed store, hash-verified

27 reopen = 1 # Tells whether the file has to be reopened on each test or not
28
29 def setUp(self):
30 super().setUp()
31
32 # Create an instance of an HDF5 Table
33 self.rootgroup = self.h5file.root
34 self.populateFile()
35 if self.reopen:
36 # Close the file
37 self.h5file.close()
38
39 def populateFile(self):
40 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