D | test_enum.py | 147 AUTUMN = 3 variable in TestEnum.setUp.Season 237 [Season.SPRING, Season.SUMMER, Season.AUTUMN, Season.WINTER], lst) 272 AUTUMN = 3 variable in TestEnum.test_attribute_deletion.Season 343 self.assertIn(Season.AUTUMN, Season) 357 self.assertRaises(TypeError, lambda: 'test' in self.Season.AUTUMN) 358 self.assertRaises(TypeError, lambda: 3 in self.Season.AUTUMN) 359 self.assertRaises(TypeError, lambda: 'AUTUMN' in self.Season.AUTUMN) 383 AUTUMN = FALL = 3 variable in TestEnum.test_enum_duplicates.Season 390 Season.AUTUMN, Season.WINTER, 392 self.assertIs(Season.FALL, Season.AUTUMN) [all …]
|