Searched refs:Bizarre (Results 1 – 1 of 1) sorted by relevance
/third_party/python/Lib/test/ |
D | test_enum.py | 2522 class Bizarre(Flag): class 2528 self.assertRaisesRegex(ValueError, "5 is not a valid " + name, Bizarre, 5) 2529 self.assertRaisesRegex(ValueError, "5 is not a valid " + name, Bizarre, 5) 2530 self.assertRaisesRegex(ValueError, "2 is not a valid " + name, Bizarre, 2) 2531 self.assertRaisesRegex(ValueError, "2 is not a valid " + name, Bizarre, 2) 2532 self.assertRaisesRegex(ValueError, "1 is not a valid " + name, Bizarre, 1) 2533 self.assertRaisesRegex(ValueError, "1 is not a valid " + name, Bizarre, 1) 2543 class Bizarre(Flag): class 2547 self.assertEqual(repr(Bizarre(7)), '<Bizarre.d|c|b: 7>')
|