Reopening a file with tables using enumerated data.
(self)
| 244 | return TestDescription |
| 245 | |
| 246 | def test00a_reopen(self): |
| 247 | """Reopening a file with tables using enumerated data.""" |
| 248 | |
| 249 | self.h5file.create_table( |
| 250 | "/", "test", self._description(), title=self._getMethodName() |
| 251 | ) |
| 252 | |
| 253 | self._reopen() |
| 254 | |
| 255 | self.assertEqual( |
| 256 | self.h5file.root.test.get_enum("rcolor"), |
| 257 | self.enum, |
| 258 | "Enumerated type was not restored correctly from disk.", |
| 259 | ) |
| 260 | |
| 261 | def test00b_reopenMD(self): |
| 262 | """Reopening a file with tables using enumerated multi-dimensional |
nothing calls this directly
no test coverage detected