• Home
  • Raw
  • Download

Lines Matching refs:assertIs

222         self.assertIs(Season(Season.WINTER), Season.WINTER)
246 self.assertIs(type(e), Season)
392 self.assertIs(Season.FALL, Season.AUTUMN)
395 self.assertIs(Season(3), Season.AUTUMN)
396 self.assertIs(Season(1), Season.SPRING)
437 self.assertIs(type(Huh.name), Huh)
589 self.assertIs(type(e), WeekDay)
602 self.assertIs(WeekDay.TEUSDAY, WeekDay.TUESDAY)
608 self.assertIs(IntStooges.from_bytes(b'\x00\x03', 'big'), IntStooges.MOE)
614 self.assertIs(FloatStooges.fromhex(h), FloatStooges.MOE)
622 test_pickle_dump_load(self.assertIs, Stooges.CURLY)
623 test_pickle_dump_load(self.assertIs, Stooges)
628 test_pickle_dump_load(self.assertIs, IntStooges.CURLY)
629 test_pickle_dump_load(self.assertIs, IntStooges)
634 test_pickle_dump_load(self.assertIs, FloatStooges.CURLY)
635 test_pickle_dump_load(self.assertIs, FloatStooges)
640 test_pickle_dump_load(self.assertIs, Answer.him)
641 test_pickle_dump_load(self.assertIs, Answer)
646 test_pickle_dump_load(self.assertIs, Question.who)
647 test_pickle_dump_load(self.assertIs, Question)
662 test_pickle_dump_load(self.assertIs, self.NestedEnum.twigs)
694 self.assertIs(Period(2), Period.noon)
695 self.assertIs(getattr(Period, 'night'), Period.night)
696 self.assertIs(Period['morning'], Period.morning)
735 self.assertIs(type(e), SummerMonth)
752 self.assertIs(type(e), SummerMonth)
769 self.assertIs(type(e), SummerMonth)
786 self.assertIs(type(e), SummerMonth)
806 self.assertIs(type(e), SummerMonth)
826 self.assertIs(type(e), SummerMonth)
842 self.assertIs(type(e), SummerMonth)
858 self.assertIs(type(e), SummerMonth)
874 self.assertIs(type(e), SummerMonth)
890 self.assertIs(type(e), SummerMonth)
897 self.assertIs(Name.BDFL, getattr(Name, 'BDFL'))
898 test_pickle_dump_load(self.assertIs, Name.BDFL)
963 self.assertIs(Monochrome(Gender.female), Monochrome.white)
972 self.assertIs(Monochrome(Gender.male), Monochrome.black)
988 self.assertIs(Number.one._member_type_, int)
989 self.assertIs(Number._member_type_, int)
994 self.assertIs(String.yarn._member_type_, str)
995 self.assertIs(String._member_type_, str)
999 self.assertIs(Plain.vanilla._member_type_, object)
1000 self.assertIs(Plain._member_type_, object)
1116 self.assertIs(NEI.__new__, Enum.__new__)
1124 test_pickle_dump_load(self.assertIs, NEI.y)
1125 test_pickle_dump_load(self.assertIs, NEI)
1173 self.assertIs(NEI.__new__, Enum.__new__)
1181 test_pickle_dump_load(self.assertIs, NEI.y)
1182 test_pickle_dump_load(self.assertIs, NEI)
1230 self.assertIs(NEI.__new__, Enum.__new__)
1238 test_pickle_dump_load(self.assertIs, NEI.y)
1239 test_pickle_dump_load(self.assertIs, NEI)
1287 self.assertIs(NEI.__new__, Enum.__new__)
1295 test_pickle_dump_load(self.assertIs, NEI.y)
1296 test_pickle_dump_load(self.assertIs, NEI)
1341 self.assertIs(NEI.__new__, Enum.__new__)
1396 self.assertIs(NEI.__new__, Enum.__new__)
1403 test_pickle_dump_load(self.assertIs, NEI.y)
1404 test_pickle_dump_load(self.assertIs, NEI)
1412 self.assertIs(type(SomeTuple.first), SomeTuple)
1416 test_pickle_dump_load(self.assertIs, SomeTuple.first)
1436 self.assertIs(AutoNumber(1), AutoNumber.first)
1541 self.assertIs(type(Test.test), Test)
1639 self.assertIs(ColorInAList([value]), enum)
1737 self.assertIs(Color('three'), Color.blue)
2021 self.assertIs(type(i | j), Perm)
2023 self.assertIs(i | i, i)
2025 self.assertIs(Open.RO | Open.CE, Open.CE)
2037 self.assertIs(type(i & j), Perm)
2039 self.assertIs(i & i, i)
2040 self.assertIs(i & RWX, i)
2041 self.assertIs(RWX & i, i)
2043 self.assertIs(Open.RO & Open.CE, Open.RO)
2050 self.assertIs(type(i ^ j), Perm)
2052 self.assertIs(i ^ Perm(0), i)
2053 self.assertIs(Perm(0) ^ i, i)
2055 self.assertIs(Open.RO ^ Open.CE, Open.CE)
2056 self.assertIs(Open.CE ^ Open.CE, Open.RO)
2066 self.assertIs(type(~i), Perm)
2069 self.assertIs(~~i, i)
2071 self.assertIs(Open.WO & ~Open.WO, Open.RO)
2072 self.assertIs((Open.WO|Open.CE) & ~Open.WO, Open.CE)
2095 self.assertIs(type(e), Perm)
2110 self.assertIs(type(e), Perm)
2125 self.assertIs(type(e), Perm)
2140 self.assertIs(type(e), Perm)
2155 self.assertIs(type(e), Perm)
2160 test_pickle_dump_load(self.assertIs, FlagStooges.CURLY|FlagStooges.MOE)
2161 test_pickle_dump_load(self.assertIs, FlagStooges)
2432 self.assertIs(type(i | j), Perm)
2436 self.assertIs(type(i | j), Perm)
2439 self.assertIs(type(j | i), Perm)
2441 self.assertIs(i | i, i)
2442 self.assertIs(i | 0, i)
2443 self.assertIs(0 | i, i)
2445 self.assertIs(Open.RO | Open.CE, Open.CE)
2458 self.assertIs(type(i & j), Perm, 'i is %r, j is %r' % (i, j))
2462 self.assertIs(type(i & j), Perm)
2465 self.assertIs(type(j & i), Perm)
2467 self.assertIs(i & i, i)
2468 self.assertIs(i & 7, i)
2469 self.assertIs(7 & i, i)
2471 self.assertIs(Open.RO & Open.CE, Open.RO)
2479 self.assertIs(type(i ^ j), Perm)
2483 self.assertIs(type(i ^ j), Perm)
2486 self.assertIs(type(j ^ i), Perm)
2488 self.assertIs(i ^ 0, i)
2489 self.assertIs(0 ^ i, i)
2491 self.assertIs(Open.RO ^ Open.CE, Open.CE)
2492 self.assertIs(Open.CE ^ Open.CE, Open.RO)
2504 self.assertIs(type(~i), Perm)
2507 self.assertIs(~~i, i)
2509 self.assertIs(Open.WO & ~Open.WO, Open.RO)
2510 self.assertIs((Open.WO|Open.CE) & ~Open.WO, Open.CE)
2526 self.assertIs(type(e), Perm)
2542 self.assertIs(type(e), Perm)
2558 self.assertIs(type(e), Perm)
2574 self.assertIs(type(e), Perm)
2590 self.assertIs(type(e), Perm)