Searched refs:NEI (Results 1 – 1 of 1) sorted by relevance
/third_party/python/Lib/test/ |
D | test_enum.py | 1280 class NEI(NamedInt, Enum): class 1286 self.assertIs(NEI.__new__, Enum.__new__) 1287 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)") 1289 globals()['NEI'] = NEI 1293 self.assertEqual(NEI.y.value, 2) 1294 test_pickle_dump_load(self.assertIs, NEI.y) 1295 test_pickle_dump_load(self.assertIs, NEI) 1337 class NEI(NamedInt, Enum): class 1343 self.assertIs(NEI.__new__, Enum.__new__) 1344 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)") [all …]
|