(self)
| 1742 | open_kwargs = dict(driver=DRIVER, **DRIVER_PARAMS) |
| 1743 | |
| 1744 | def setUp(self): |
| 1745 | super().setUp() |
| 1746 | |
| 1747 | # Create an HDF5 file and contents |
| 1748 | root = self.h5file.root |
| 1749 | self.h5file.set_node_attr(root, "testattr", 41) |
| 1750 | self.h5file.create_array(root, "array", [1, 2], title="array") |
| 1751 | self.h5file.create_table( |
| 1752 | root, "table", {"var1": tb.IntCol()}, title="table" |
| 1753 | ) |
| 1754 | |
| 1755 | def assertIsFile(self): |
| 1756 | self.assertTrue(Path(self.h5fname).is_file()) |
nothing calls this directly
no test coverage detected