(self)
| 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 |