def test00a_validFromEnum(self):

        colors = tables.Enum(['red', 'green', 'blue'])
        self._createAtom(colors, 'red')
Describing an enumerated atom from an enumeration.
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_enum.py/CreateAtomTestCase.test00a_validFromEnum