setUp() -> None This method sets the following instance attributes: * 'h5fname', the name of the temporary HDF5 file * 'h5file', the closed HDF5 file with a '/test' node * 'fnode', the writable file node in '/test'
(self)
| 797 | """Tests accessing a file node in a closed PyTables file.""" |
| 798 | |
| 799 | def setUp(self): |
| 800 | """setUp() -> None |
| 801 | |
| 802 | This method sets the following instance attributes: |
| 803 | * 'h5fname', the name of the temporary HDF5 file |
| 804 | * 'h5file', the closed HDF5 file with a '/test' node |
| 805 | * 'fnode', the writable file node in '/test' |
| 806 | |
| 807 | """ |
| 808 | |
| 809 | super().setUp() |
| 810 | self.fnode = filenode.new_node(self.h5file, where="/", name="test") |
| 811 | self.h5file.close() |
| 812 | |
| 813 | def tearDown(self): |
| 814 | """tearDown() -> None |