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

Method setUp

tables/nodes/tests/test_filenode.py:685–696  ·  view source on GitHub ↗

setUp() -> None This method sets the following instance attributes: * 'h5fname', the name of the temporary HDF5 file * 'h5file', the writable, temporary HDF5 file with a '/test' node * 'fnode', the writable file node in '/test'

(self)

Source from the content-addressed store, hash-verified

683 """Tests setting and getting file node attributes."""
684
685 def setUp(self):
686 """setUp() -> None
687
688 This method sets the following instance attributes:
689 * 'h5fname', the name of the temporary HDF5 file
690 * 'h5file', the writable, temporary HDF5 file with a '/test' node
691 * 'fnode', the writable file node in '/test'
692
693 """
694
695 super().setUp()
696 self.fnode = filenode.new_node(self.h5file, where="/", name="test")
697
698 def tearDown(self):
699 """tearDown() -> None

Callers 8

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

no outgoing calls

Tested by

no test coverage detected