def test00d_invalidFromType(self):

        colors = 123
        self.assertRaises(TypeError, self._createAtom, colors, 'red')
Describing an enumerated atom from an invalid object.
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_enum.py/CreateAtomTestCase.test00d_invalidFromType