test_enum.py | 8 REALLY_HUGE = 1<<96 14 really_huge = REALLY_HUGE variable in class:BigNum 60 str([SMALL, BIG, HUGE, REALLY_HUGE])) 86 self.assertEqual(nd[str(REALLY_HUGE)], 'largest') 99 largest=BigNum.really_huge, 111 self.assertEqual(nd['largest'], REALLY_HUGE)
|