Home
last modified time | relevance | path

Searched refs:ReformedColor (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/
Dtest_enum.py2073 class ReformedColor(StrMixin, IntEnum, SomeEnum, AnotherEnum): class
2077 self.assertEqual(ReformedColor.RED.value, 1)
2078 self.assertEqual(ReformedColor.GREEN.value, 2)
2079 self.assertEqual(ReformedColor.BLUE.value, 3)
2080 self.assertEqual(str(ReformedColor.BLUE), 'blue')
2081 self.assertEqual(ReformedColor.RED.behavior(), 'booyah')
2083 self.assertTrue(issubclass(ReformedColor, int))