• Home
  • Raw
  • Download

Lines Matching refs:assertIs

220         self.assertIs(Season(Season.WINTER), Season.WINTER)
244 self.assertIs(type(e), Season)
385 self.assertIs(Season.FALL, Season.AUTUMN)
388 self.assertIs(Season(3), Season.AUTUMN)
389 self.assertIs(Season(1), Season.SPRING)
430 self.assertIs(type(Huh.name), Huh)
683 self.assertIs(type(e), WeekDay)
696 self.assertIs(WeekDay.TEUSDAY, WeekDay.TUESDAY)
702 self.assertIs(IntStooges.from_bytes(b'\x00\x03', 'big'), IntStooges.MOE)
708 self.assertIs(FloatStooges.fromhex(h), FloatStooges.MOE)
716 test_pickle_dump_load(self.assertIs, Stooges.CURLY)
717 test_pickle_dump_load(self.assertIs, Stooges)
722 test_pickle_dump_load(self.assertIs, IntStooges.CURLY)
723 test_pickle_dump_load(self.assertIs, IntStooges)
728 test_pickle_dump_load(self.assertIs, FloatStooges.CURLY)
729 test_pickle_dump_load(self.assertIs, FloatStooges)
734 test_pickle_dump_load(self.assertIs, Answer.him)
735 test_pickle_dump_load(self.assertIs, Answer)
740 test_pickle_dump_load(self.assertIs, Question.who)
741 test_pickle_dump_load(self.assertIs, Question)
756 test_pickle_dump_load(self.assertIs, self.NestedEnum.twigs)
788 self.assertIs(Period(2), Period.noon)
789 self.assertIs(getattr(Period, 'night'), Period.night)
790 self.assertIs(Period['morning'], Period.morning)
829 self.assertIs(type(e), SummerMonth)
846 self.assertIs(type(e), SummerMonth)
863 self.assertIs(type(e), SummerMonth)
880 self.assertIs(type(e), SummerMonth)
900 self.assertIs(type(e), SummerMonth)
920 self.assertIs(type(e), SummerMonth)
936 self.assertIs(type(e), SummerMonth)
952 self.assertIs(type(e), SummerMonth)
968 self.assertIs(type(e), SummerMonth)
984 self.assertIs(type(e), SummerMonth)
991 self.assertIs(Name.BDFL, getattr(Name, 'BDFL'))
992 test_pickle_dump_load(self.assertIs, Name.BDFL)
1060 self.assertIs(Monochrome(Gender.female), Monochrome.white)
1069 self.assertIs(Monochrome(Gender.male), Monochrome.black)
1085 self.assertIs(Number.one._member_type_, int)
1086 self.assertIs(Number._member_type_, int)
1091 self.assertIs(String.yarn._member_type_, str)
1092 self.assertIs(String._member_type_, str)
1096 self.assertIs(Plain.vanilla._member_type_, object)
1097 self.assertIs(Plain._member_type_, object)
1213 self.assertIs(NEI.__new__, Enum.__new__)
1221 test_pickle_dump_load(self.assertIs, NEI.y)
1222 test_pickle_dump_load(self.assertIs, NEI)
1270 self.assertIs(NEI.__new__, Enum.__new__)
1278 test_pickle_dump_load(self.assertIs, NEI.y)
1279 test_pickle_dump_load(self.assertIs, NEI)
1327 self.assertIs(NEI.__new__, Enum.__new__)
1335 test_pickle_dump_load(self.assertIs, NEI.y)
1336 test_pickle_dump_load(self.assertIs, NEI)
1384 self.assertIs(NEI.__new__, Enum.__new__)
1392 test_pickle_dump_load(self.assertIs, NEI.y)
1393 test_pickle_dump_load(self.assertIs, NEI)
1438 self.assertIs(NEI.__new__, Enum.__new__)
1493 self.assertIs(NEI.__new__, Enum.__new__)
1500 test_pickle_dump_load(self.assertIs, NEI.y)
1501 test_pickle_dump_load(self.assertIs, NEI)
1509 self.assertIs(type(SomeTuple.first), SomeTuple)
1513 test_pickle_dump_load(self.assertIs, SomeTuple.first)
1533 self.assertIs(AutoNumber(1), AutoNumber.first)
1635 self.assertIs(type(Test.test), Test)
1733 self.assertIs(ColorInAList([value]), enum)
1864 self.assertIs(Color('three'), Color.blue)
2153 self.assertIs(type(i | j), Perm)
2155 self.assertIs(i | i, i)
2157 self.assertIs(Open.RO | Open.CE, Open.CE)
2169 self.assertIs(type(i & j), Perm)
2171 self.assertIs(i & i, i)
2172 self.assertIs(i & RWX, i)
2173 self.assertIs(RWX & i, i)
2175 self.assertIs(Open.RO & Open.CE, Open.RO)
2182 self.assertIs(type(i ^ j), Perm)
2184 self.assertIs(i ^ Perm(0), i)
2185 self.assertIs(Perm(0) ^ i, i)
2187 self.assertIs(Open.RO ^ Open.CE, Open.CE)
2188 self.assertIs(Open.CE ^ Open.CE, Open.RO)
2198 self.assertIs(type(~i), Perm)
2201 self.assertIs(~~i, i)
2203 self.assertIs(Open.WO & ~Open.WO, Open.RO)
2204 self.assertIs((Open.WO|Open.CE) & ~Open.WO, Open.CE)
2227 self.assertIs(type(e), Perm)
2242 self.assertIs(type(e), Perm)
2257 self.assertIs(type(e), Perm)
2272 self.assertIs(type(e), Perm)
2287 self.assertIs(type(e), Perm)
2292 test_pickle_dump_load(self.assertIs, FlagStooges.CURLY|FlagStooges.MOE)
2293 test_pickle_dump_load(self.assertIs, FlagStooges)
2565 self.assertIs(type(i | j), Perm)
2569 self.assertIs(type(i | j), Perm)
2572 self.assertIs(type(j | i), Perm)
2574 self.assertIs(i | i, i)
2575 self.assertIs(i | 0, i)
2576 self.assertIs(0 | i, i)
2578 self.assertIs(Open.RO | Open.CE, Open.CE)
2591 self.assertIs(type(i & j), Perm, 'i is %r, j is %r' % (i, j))
2595 self.assertIs(type(i & j), Perm)
2598 self.assertIs(type(j & i), Perm)
2600 self.assertIs(i & i, i)
2601 self.assertIs(i & 7, i)
2602 self.assertIs(7 & i, i)
2604 self.assertIs(Open.RO & Open.CE, Open.RO)
2612 self.assertIs(type(i ^ j), Perm)
2616 self.assertIs(type(i ^ j), Perm)
2619 self.assertIs(type(j ^ i), Perm)
2621 self.assertIs(i ^ 0, i)
2622 self.assertIs(0 ^ i, i)
2624 self.assertIs(Open.RO ^ Open.CE, Open.CE)
2625 self.assertIs(Open.CE ^ Open.CE, Open.RO)
2637 self.assertIs(type(~i), Perm)
2640 self.assertIs(~~i, i)
2642 self.assertIs(Open.WO & ~Open.WO, Open.RO)
2643 self.assertIs((Open.WO|Open.CE) & ~Open.WO, Open.CE)
2659 self.assertIs(type(e), Perm)
2675 self.assertIs(type(e), Perm)
2691 self.assertIs(type(e), Perm)
2707 self.assertIs(type(e), Perm)
2723 self.assertIs(type(e), Perm)