def test00a_reopen(self):

        self.h5file.create_table(
            '/', 'test', self._description(), title=self._getMethodName())

        self._reopen()

        self.assertEqual(
            self.h5file.root.test.get_enum('rcolor'), self.enum,
            "Enumerated type was not restored correctly from disk.")
Reopening a file with tables using enumerated data.
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_enum.py/EnumTableTestCase.test00a_reopen