Reopening a file with variable-length arrays using enumerated multi-dimensional data.
(self)
| 629 | ) |
| 630 | |
| 631 | def test00b_reopenMD(self): |
| 632 | """Reopening a file with variable-length arrays using enumerated |
| 633 | multi-dimensional data.""" |
| 634 | |
| 635 | self.h5file.create_vlarray( |
| 636 | "/", "test", self._atom((2,)), title=self._getMethodName() |
| 637 | ) |
| 638 | self.h5file.root.test.flavor = "python" |
| 639 | |
| 640 | self._reopen() |
| 641 | |
| 642 | self.assertEqual( |
| 643 | self.h5file.root.test.get_enum(), |
| 644 | self.enum, |
| 645 | "Enumerated type was not restored correctly from disk.", |
| 646 | ) |
| 647 | |
| 648 | def test01_append(self): |
| 649 | """Appending scalar elements of enumerated values.""" |
nothing calls this directly
no test coverage detected