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

Method setUp

tables/nodes/tests/test_filenode.py:281–292  ·  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

(self)

Source from the content-addressed store, hash-verified

279 """Tests opening an existing file node for reading and writing."""
280
281 def setUp(self):
282 """setUp() -> None
283
284 This method sets the following instance attributes:
285 * 'h5fname', the name of the temporary HDF5 file
286 * 'h5file', the writable, temporary HDF5 file with a '/test' node
287
288 """
289
290 super().setUp()
291 fnode = filenode.new_node(self.h5file, where="/", name="test")
292 fnode.close()
293
294 def test00_OpenFileRead(self):
295 """Opening an existing file node for reading."""

Callers

nothing calls this directly

Calls 2

setUpMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected