• Home
  • Raw
  • Download

Lines Matching refs:assertEqual

55         self.assertEqual(self.check_sequence_then_mapping(M1()), "map")
56 self.assertEqual(self.check_sequence_then_mapping(M2()), "map")
57 self.assertEqual(self.check_sequence_then_mapping(M3()), "map")
58 self.assertEqual(self.check_sequence_then_mapping(M4()), "map")
59 self.assertEqual(self.check_mapping_then_sequence(M1()), "map")
60 self.assertEqual(self.check_mapping_then_sequence(M2()), "map")
61 self.assertEqual(self.check_mapping_then_sequence(M3()), "map")
62 self.assertEqual(self.check_mapping_then_sequence(M4()), "map")
75 self.assertEqual(self.check_sequence_then_mapping(S1()), "seq")
76 self.assertEqual(self.check_sequence_then_mapping(S2()), "seq")
77 self.assertEqual(self.check_sequence_then_mapping(S3()), "seq")
78 self.assertEqual(self.check_sequence_then_mapping(S4()), "seq")
79 self.assertEqual(self.check_mapping_then_sequence(S1()), "seq")
80 self.assertEqual(self.check_mapping_then_sequence(S2()), "seq")
81 self.assertEqual(self.check_mapping_then_sequence(S3()), "seq")
82 self.assertEqual(self.check_mapping_then_sequence(S4()), "seq")
96 self.assertEqual(self.check_sequence_then_mapping(Parent()), "map")
97 self.assertEqual(self.check_sequence_then_mapping(ChildPre()), "map")
98 self.assertEqual(self.check_sequence_then_mapping(GrandchildPre()), "map")
99 self.assertEqual(self.check_sequence_then_mapping(ChildPost()), "map")
100 self.assertEqual(self.check_sequence_then_mapping(GrandchildPost()), "map")
101 self.assertEqual(self.check_mapping_then_sequence(Parent()), "map")
102 self.assertEqual(self.check_mapping_then_sequence(ChildPre()), "map")
103 self.assertEqual(self.check_mapping_then_sequence(GrandchildPre()), "map")
104 self.assertEqual(self.check_mapping_then_sequence(ChildPost()), "map")
105 self.assertEqual(self.check_mapping_then_sequence(GrandchildPost()), "map")
119 self.assertEqual(self.check_sequence_then_mapping(Parent()), "seq")
120 self.assertEqual(self.check_sequence_then_mapping(ChildPre()), "seq")
121 self.assertEqual(self.check_sequence_then_mapping(GrandchildPre()), "seq")
122 self.assertEqual(self.check_sequence_then_mapping(ChildPost()), "seq")
123 self.assertEqual(self.check_sequence_then_mapping(GrandchildPost()), "seq")
124 self.assertEqual(self.check_mapping_then_sequence(Parent()), "seq")
125 self.assertEqual(self.check_mapping_then_sequence(ChildPre()), "seq")
126 self.assertEqual(self.check_mapping_then_sequence(GrandchildPre()), "seq")
127 self.assertEqual(self.check_mapping_then_sequence(ChildPost()), "seq")
128 self.assertEqual(self.check_mapping_then_sequence(GrandchildPost()), "seq")
197 self.assertEqual(x, 0)
198 self.assertEqual(A.y, 1)
210 self.assertEqual(A.B, 0)
211 self.assertEqual(x, 0)
212 self.assertEqual(y, 0)
213 self.assertEqual(z, 2)
219 self.assertEqual(x, 0)
225 self.assertEqual(x, [0, 1, 2])
226 self.assertEqual(y, 0)
232 self.assertEqual(x, [1, 2])
233 self.assertEqual(y, 0)
239 self.assertEqual(x, [2])
240 self.assertEqual(y, 0)
246 self.assertEqual(x, [])
247 self.assertEqual(y, 0)
253 self.assertEqual(x, [0, 1])
254 self.assertEqual(y, 0)
260 self.assertEqual(x, [0])
261 self.assertEqual(y, 0)
267 self.assertEqual(x, [])
268 self.assertEqual(y, 0)
274 self.assertEqual(x, [1])
275 self.assertEqual(y, 0)
281 self.assertEqual(x, [])
282 self.assertEqual(y, 0)
288 self.assertEqual(x, [])
289 self.assertEqual(y, 0)
295 self.assertEqual(x, [0, 1, 2])
296 self.assertEqual(y, 0)
303 self.assertEqual(x, {})
304 self.assertEqual(y, 0)
311 self.assertEqual(x, {0: 0})
312 self.assertEqual(y, 0)
320 self.assertEqual(x, {})
328 self.assertEqual(x, {0: 0})
329 self.assertEqual(y, 0)
330 self.assertEqual(z, 0)
337 self.assertEqual(x, {0: 1})
338 self.assertEqual(y, 0)
339 self.assertEqual(z, 1)
346 self.assertEqual(x, {0: 2})
347 self.assertEqual(y, 0)
348 self.assertEqual(z, 2)
356 self.assertEqual(x, {0: 3})
369 self.assertEqual(x, {})
381 self.assertEqual(x, {False: (True, 2.0, {})})
382 self.assertEqual(y, 0)
393 self.assertEqual(x, {False: (True, 2.0, {}), 1: [[]], 2: 0})
394 self.assertEqual(y, 0)
405 self.assertEqual(x, {False: (True, 2.0, {}), 1: [[]], 2: 0})
406 self.assertEqual(y, 1)
417 self.assertEqual(x, [])
418 self.assertEqual(y, 2)
429 self.assertEqual(x, {0: 0})
430 self.assertEqual(y, 1)
441 self.assertEqual(x, {0: 0})
442 self.assertEqual(y, 1)
449 self.assertEqual(x, 0)
450 self.assertEqual(y, 0)
457 self.assertEqual(x, 1)
458 self.assertEqual(y, 0)
465 self.assertEqual(x, 2)
466 self.assertEqual(y, 0)
474 self.assertEqual(x, 3)
482 self.assertEqual(x, 0)
483 self.assertEqual(y, 0)
484 self.assertEqual(z, 0)
491 self.assertEqual(x, 1)
492 self.assertEqual(y, 0)
493 self.assertEqual(z, 1)
501 self.assertEqual(x, 2)
503 self.assertEqual(z, 2)
511 self.assertEqual(x, 3)
519 self.assertEqual(x, ())
520 self.assertEqual(y, 0)
527 self.assertEqual(x, ())
528 self.assertEqual(y, 0)
535 self.assertEqual(x, (0,))
536 self.assertEqual(y, 0)
543 self.assertEqual(x, ((),))
544 self.assertEqual(y, 0)
551 self.assertEqual(x, [0, 1])
552 self.assertEqual(y, 0)
559 self.assertEqual(x, [1, 0])
560 self.assertEqual(y, 0)
568 self.assertEqual(x, [0, 0])
580 self.assertEqual(x, [1, 0])
581 self.assertEqual(y, 1)
582 self.assertEqual(z, 0)
593 self.assertEqual(x, [])
594 self.assertEqual(y, 2)
602 self.assertEqual(x, {0})
611 self.assertEqual(x, set())
620 self.assertEqual([*x], [1, 2, 3])
629 self.assertEqual(x, {})
638 self.assertEqual(x, {0: False, 1: True})
646 self.assertEqual(x, 0)
647 self.assertEqual(y, 0)
655 self.assertEqual(x, 0)
656 self.assertEqual(y, None)
664 self.assertEqual(x, 0)
673 self.assertEqual(x, 0)
683 self.assertEqual(x, 0)
684 self.assertEqual(y, 0)
694 self.assertEqual(x, 0)
704 self.assertEqual(x, "x")
705 self.assertEqual(y, 0)
714 self.assertEqual(x, "x")
715 self.assertEqual(y, 1)
724 self.assertEqual(x, "x")
725 self.assertEqual(y, 1)
734 self.assertEqual(x, b"x")
735 self.assertEqual(y, 1)
744 self.assertEqual(x, 0)
745 self.assertEqual(y, 1)
755 self.assertEqual(x, 0)
765 self.assertEqual(x, 0)
766 self.assertEqual(y, 0)
775 self.assertEqual(x, 0)
776 self.assertEqual(y, 0)
786 self.assertEqual(x, 0)
787 self.assertEqual(y, 2)
797 self.assertEqual(x, 0)
798 self.assertEqual(y, 2)
808 self.assertEqual(x, 1)
818 self.assertEqual(x, "x")
819 self.assertEqual(y, 1)
832 self.assertEqual(x, b"x")
833 self.assertEqual(y, 4)
843 self.assertEqual(x, b"x")
855 self.assertEqual(x, "")
856 self.assertEqual(y, 2)
867 self.assertEqual(x, "xxx")
868 self.assertEqual(y, 2)
879 self.assertEqual(x, b"xxx")
880 self.assertEqual(y, 2)
889 self.assertEqual(x, 1)
890 self.assertEqual(y, 1)
891 self.assertEqual(z, 0)
900 self.assertEqual(x, 0)
901 self.assertEqual(y, 1)
908 self.assertEqual(x, 0)
909 self.assertEqual(y, 0)
910 self.assertEqual(z, 0)
918 self.assertEqual(x, 0)
927 self.assertEqual(w, 0)
928 self.assertEqual(x, 0)
930 self.assertEqual(z, 0)
937 self.assertEqual(w, 0)
938 self.assertEqual(x, 0)
939 self.assertEqual(y, 0)
940 self.assertEqual(z, 0)
947 self.assertEqual(x, 0)
948 self.assertEqual(y, 0)
955 self.assertEqual(x, 1)
956 self.assertEqual(y, 0)
963 self.assertEqual(x, 2)
964 self.assertEqual(y, 0)
972 self.assertEqual(x, 3)
980 self.assertEqual(x, 0)
981 self.assertEqual(y, 0)
988 self.assertEqual(x, 1)
989 self.assertEqual(y, 0)
996 self.assertEqual(x, 2)
997 self.assertEqual(y, 0)
1005 self.assertEqual(x, 3)
1013 self.assertEqual(x, 0)
1014 self.assertEqual(y, 0)
1021 self.assertEqual(x, 0)
1022 self.assertEqual(y, 0)
1029 self.assertEqual(x, 0)
1030 self.assertEqual(y, 0)
1037 self.assertEqual(x, 0)
1038 self.assertEqual(y, 0)
1045 self.assertEqual(x, -1)
1046 self.assertEqual(y, 0)
1053 self.assertEqual(x, -1.5)
1054 self.assertEqual(y, 0)
1061 self.assertEqual(x, -1j)
1062 self.assertEqual(y, 0)
1069 self.assertEqual(x, -1.5j)
1070 self.assertEqual(y, 0)
1077 self.assertEqual(x, 0)
1078 self.assertEqual(y, 0)
1085 self.assertEqual(x, 0)
1086 self.assertEqual(y, 0)
1093 self.assertEqual(x, 0)
1094 self.assertEqual(y, 0)
1101 self.assertEqual(x, 0)
1102 self.assertEqual(y, 0)
1109 self.assertEqual(x, 0.25 + 1.75j)
1110 self.assertEqual(y, 0)
1117 self.assertEqual(x, 0.25 - 1.75j)
1118 self.assertEqual(y, 0)
1125 self.assertEqual(x, -0.25 + 1.75j)
1126 self.assertEqual(y, 0)
1133 self.assertEqual(x, -0.25 - 1.75j)
1134 self.assertEqual(y, 0)
1143 self.assertEqual(A.B, 0)
1144 self.assertEqual(x, 0)
1145 self.assertEqual(y, 0)
1155 self.assertEqual(A.B.C, 0)
1156 self.assertEqual(x, 0)
1157 self.assertEqual(y, 0)
1170 self.assertEqual(A.B.C, 0)
1171 self.assertEqual(A.B.D, 1)
1172 self.assertEqual(x, 1)
1173 self.assertEqual(y, 1)
1184 self.assertEqual(A.B.C.D, 0)
1185 self.assertEqual(x, 0)
1186 self.assertEqual(y, 0)
1200 self.assertEqual(A.B.C.D, 0)
1201 self.assertEqual(A.B.C.E, 1)
1202 self.assertEqual(x, 1)
1203 self.assertEqual(y, 1)
1210 self.assertEqual(match, 0)
1211 self.assertEqual(case, 0)
1212 self.assertEqual(x, 0)
1219 self.assertEqual(match, 0)
1220 self.assertEqual(case, 0)
1221 self.assertEqual(x, 0)
1230 self.assertEqual(x, [])
1231 self.assertEqual(y, 1)
1240 self.assertEqual(x, {})
1241 self.assertEqual(y, 1)
1250 self.assertEqual(x, {})
1251 self.assertEqual(y, 1)
1252 self.assertEqual(z, {})
1258 self.assertEqual(x, 0)
1264 self.assertEqual(x, [0, 1, 2])
1265 self.assertEqual(y, 0)
1271 self.assertEqual(x, [1, 2])
1272 self.assertEqual(y, 0)
1278 self.assertEqual(x, [2])
1279 self.assertEqual(y, 0)
1285 self.assertEqual(x, [])
1286 self.assertEqual(y, 0)
1292 self.assertEqual(x, [0, 1])
1293 self.assertEqual(y, 0)
1299 self.assertEqual(x, [0])
1300 self.assertEqual(y, 0)
1306 self.assertEqual(x, [])
1307 self.assertEqual(y, 0)
1313 self.assertEqual(x, [1])
1314 self.assertEqual(y, 0)
1320 self.assertEqual(x, [])
1321 self.assertEqual(y, 0)
1327 self.assertEqual(x, [])
1328 self.assertEqual(y, 0)
1334 self.assertEqual(x, [0, 1, 2])
1335 self.assertEqual(y, 0)
1346 self.assertEqual(x, {0: 1})
1347 self.assertEqual(y, 2)
1358 self.assertEqual(x, {0: 1})
1359 self.assertEqual(y, 2)
1360 self.assertEqual(z, {0: 1})
1371 self.assertEqual(x, {0: 1})
1372 self.assertEqual(y, 2)
1373 self.assertEqual(z, {})
1384 self.assertEqual(x, {0: 1})
1385 self.assertEqual(y, 1)
1396 self.assertEqual(x, {0: 1})
1397 self.assertEqual(y, 1)
1398 self.assertEqual(z, {0: 1})
1409 self.assertEqual(x, {0: 1})
1410 self.assertEqual(y, 1)
1411 self.assertEqual(z, {})
1419 self.assertEqual(y, 0)
1428 self.assertEqual(y, 0)
1436 self.assertEqual(x, bytearray())
1437 self.assertEqual(y, 0)
1445 self.assertEqual(x, b"")
1446 self.assertEqual(y, 0)
1454 self.assertEqual(x, {})
1455 self.assertEqual(y, 0)
1463 self.assertEqual(x, 0.0)
1464 self.assertEqual(y, 0)
1472 self.assertEqual(x, frozenset())
1473 self.assertEqual(y, 0)
1481 self.assertEqual(x, 0)
1482 self.assertEqual(y, 0)
1490 self.assertEqual(x, [])
1491 self.assertEqual(y, 0)
1499 self.assertEqual(x, set())
1500 self.assertEqual(y, 0)
1508 self.assertEqual(x, "")
1509 self.assertEqual(y, 0)
1517 self.assertEqual(x, ())
1518 self.assertEqual(y, 0)
1526 self.assertEqual(x, 0)
1536 self.assertEqual(w, 0)
1537 self.assertEqual(x, 0)
1540 self.assertEqual(v, 0)
1547 self.assertEqual(x, 0)
1549 self.assertEqual(z, 0)
1559 self.assertEqual(x, 0)
1568 self.assertEqual(x, 0)
1576 self.assertEqual(x, 0)
1577 self.assertEqual(y, 0)
1586 self.assertEqual(x, 0)
1596 self.assertEqual(x, 0)
1597 self.assertEqual(y, 1)
1606 self.assertEqual(x, 0)
1607 self.assertEqual(y, 0)
1617 self.assertEqual(x, 0)
1618 self.assertEqual(y, 0)
1628 self.assertEqual(x, 0)
1629 self.assertEqual(y, 0)
1638 self.assertEqual(x, 0)
1639 self.assertEqual(y, 1)
1649 self.assertEqual(x, 0)
1659 self.assertEqual(x, 0)
1660 self.assertEqual(y, 1)
1670 self.assertEqual(x, 0)
1671 self.assertEqual(y, 1)
1680 self.assertEqual(x, 0)
1681 self.assertEqual(y, 0)
1691 self.assertEqual(x, 0)
1692 self.assertEqual(y, 0)
1702 self.assertEqual(x, 0)
1703 self.assertEqual(y, 0)
1713 self.assertEqual(x, 0)
1714 self.assertEqual(y, 0)
1724 self.assertEqual(x, 0)
1725 self.assertEqual(y, 0)
1735 self.assertEqual(x, 0)
1746 self.assertEqual(x, 0)
1747 self.assertEqual(y, 0)
1757 self.assertEqual(x, 0)
1758 self.assertEqual(y, 0)
1775 self.assertEqual(http_error(400), "Bad request")
1776 self.assertEqual(http_error(401), "Unauthorized")
1777 self.assertEqual(http_error(403), "Forbidden")
1778 self.assertEqual(http_error(404), "Not found")
1779 self.assertEqual(http_error(418), "I'm a teapot")
1780 self.assertEqual(http_error(123), "Something else")
1781 self.assertEqual(http_error("400"), "Something else")
1782 self.assertEqual(http_error(401 | 403 | 404), "Something else") # 407
1793 self.assertEqual(http_error(400), "Bad request")
1794 self.assertEqual(http_error(401), "Not allowed")
1795 self.assertEqual(http_error(403), "Not allowed")
1796 self.assertEqual(http_error(404), "Not allowed")
1797 self.assertEqual(http_error(418), "I'm a teapot")
1815 self.assertEqual(whereis((0, 0)), "Origin")
1816 self.assertEqual(whereis((0, -1.0)), "Y=-1.0")
1817 self.assertEqual(whereis(("X", 0)), "X=X")
1818 self.assertEqual(whereis((None, 1j)), "X=None, Y=1j")
1819 self.assertEqual(whereis(42), "Not a point")
1834 self.assertEqual(whereis(Point(1, 0)), "X=1")
1835 self.assertEqual(whereis(Point(0, 0)), "Origin")
1836 self.assertEqual(whereis(10), "Not a point")
1837 self.assertEqual(whereis(Point(False, False)), "Origin")
1838 self.assertEqual(whereis(Point(0, -1.0)), "Y=-1.0")
1839 self.assertEqual(whereis(Point("X", 0)), "X=X")
1840 self.assertEqual(whereis(Point(None, 1j)), "Somewhere else")
1841 self.assertEqual(whereis(Point), "Not a point")
1842 self.assertEqual(whereis(42), "Not a point")
1849 self.assertEqual(whereis(Point(1, 0)), 0)
1857 self.assertEqual(whereis(Point(1, 0)), 0)
1865 self.assertEqual(whereis(Point(1, 0)), 0)
1873 self.assertEqual(whereis(Point(1, 0)), 0)
1889 self.assertEqual(whereis([]), "No points")
1890 self.assertEqual(whereis([Point(0, 0)]), "The origin")
1891 self.assertEqual(whereis([Point(0, 1)]), "Single point 0, 1")
1892 self.assertEqual(whereis([Point(0, 0), Point(0, 0)]), "Two on the Y axis at 0, 0")
1893 self.assertEqual(whereis([Point(0, 1), Point(0, 1)]), "Two on the Y axis at 1, 1")
1894 self.assertEqual(whereis([Point(0, 0), Point(1, 0)]), "Something else")
1895 self.assertEqual(whereis([Point(0, 0), Point(0, 0), Point(0, 0)]), "Something else")
1896 self.assertEqual(whereis([Point(0, 1), Point(0, 1), Point(0, 1)]), "Something else")
1905 self.assertEqual(whereis(Point(0, 0)), "Y=X at 0")
1906 self.assertEqual(whereis(Point(0, False)), "Y=X at 0")
1907 self.assertEqual(whereis(Point(False, 0)), "Y=X at False")
1908 self.assertEqual(whereis(Point(-1 - 1j, -1 - 1j)), "Y=X at (-1-1j)")
1909 self.assertEqual(whereis(Point("X", "X")), "Y=X at X")
1910 self.assertEqual(whereis(Point("X", "x")), "Not on the diagonal")
1920 self.assertEqual(y, 0)
1930 self.assertEqual(y, 0)
1941 self.assertEqual(x, 0)
1942 self.assertEqual(y, 41)
1943 self.assertEqual(z, 0)
1950 self.assertEqual(w, range(10))
1951 self.assertEqual(x, 0)
1952 self.assertEqual(y, 1)
1953 self.assertEqual(z, 0)
1954 self.assertEqual(rest, list(range(2, 10)))
1961 self.assertEqual(w, range(100))
1962 self.assertEqual(x, 0)
1963 self.assertEqual(y, 1)
1964 self.assertEqual(z, 0)
1965 self.assertEqual(rest, list(range(2, 100)))
1972 self.assertEqual(w, range(1000))
1973 self.assertEqual(x, 0)
1974 self.assertEqual(y, 1)
1975 self.assertEqual(z, 0)
1976 self.assertEqual(rest, list(range(2, 1000)))
1983 self.assertEqual(w, range(1 << 10))
1984 self.assertEqual(x, 0)
1985 self.assertEqual(y, 1)
1986 self.assertEqual(z, 0)
1993 self.assertEqual(w, range(1 << 20))
1994 self.assertEqual(x, 0)
1995 self.assertEqual(y, 1)
1996 self.assertEqual(z, 0)
2003 self.assertEqual(w, range(1 << 30))
2004 self.assertEqual(x, 0)
2005 self.assertEqual(y, 1)
2006 self.assertEqual(z, 0)
2013 self.assertEqual(x, {"bandwidth": 0, "latency": 1})
2016 self.assertEqual(y, 0)
2023 self.assertEqual(x, {"bandwidth": 0, "latency": 1, "key": "value"})
2026 self.assertEqual(y, 0)
2033 self.assertEqual(x, {"bandwidth": 0, "latency": 1, "key": "value"})
2036 self.assertEqual(rest, {"key": "value"})
2037 self.assertEqual(y, 0)
2044 self.assertEqual(x, {"bandwidth": 0, "latency": 1})
2047 self.assertEqual(rest, {})
2048 self.assertEqual(y, 0)
2055 self.assertEqual(w, [Point(-1, 0), Point(1, 2)])
2076 self.assertEqual(f(Color.RED), "I see red!")
2077 self.assertEqual(f(Color.GREEN), "Grass is green")
2078 self.assertEqual(f(Color.BLUE), "I'm feeling the blues :(")
2102 self.assertEqual(f(Color.RED), "I see red!")
2103 self.assertEqual(f(Color.GREEN), "Grass is green")
2104 self.assertEqual(f(Color.BLUE), "I'm feeling the blues :(")
2106 self.assertEqual(f(0), "I see red!")
2107 self.assertEqual(f(1), "Grass is green")
2108 self.assertEqual(f(2), "I'm feeling the blues :(")
2110 self.assertEqual(f(False), "I see red!")
2111 self.assertEqual(f(True), "Grass is green")
2112 self.assertEqual(f(2+0j), "I'm feeling the blues :(")
2126 self.assertEqual(z, 0)
2139 self.assertEqual(z, 0)
2154 self.assertEqual(z, 0)
2169 self.assertEqual(z, 0)
2178 self.assertEqual(f(42), {})
2180 self.assertEqual(f(42.0), {})
2190 self.assertEqual(f(42.0), {})
2191 self.assertEqual(f(42), {})
2202 self.assertEqual(f(1), {})
2203 self.assertEqual(f(2), {})
2204 self.assertEqual(f(3), {})
2205 self.assertEqual(f(3.0), {})
2217 self.assertEqual(f([1, 2]), {})
2218 self.assertEqual(f([3, 4]), {})
2222 self.assertEqual(f([1, 2.0]), {})
2231 self.assertEqual(f(42), {"x": 42})
2232 self.assertEqual(f((1, 2)), {"x": (1, 2)})
2233 self.assertEqual(f(None), {"x": None})
2242 self.assertEqual(f(42), {})
2243 self.assertEqual(f(None), {})
2244 self.assertEqual(f((1, 2)), {})
2253 self.assertEqual(f((1, 2, 3)), {"x": 1, "y": 2, "z": 3})
2259 self.assertEqual(f(array.array("b", b"abc")), {'x': 97, 'y': 98, 'z': 99})
2260 self.assertEqual(f(memoryview(b"abc")), {"x": 97, "y": 98, "z": 99})
2270 self.assertEqual(f({"x": "x", "y": "y", "z": "z"}), {"x": "x", "z": "z"})
2271 self.assertEqual(f({"x": "x", "y": "y", "z": "z", "a": "a"}), {"x": "x", "z": "z"})
2282 self.assertEqual(f(Point(42, "hello")), {"xx": 42})
2291 self.assertEqual(f((1, 2)), {"p": 1, "q": 2, "x": (1, 2)})
2292 self.assertEqual(f([1, 2]), {"p": 1, "q": 2, "x": [1, 2]})
2301 self.assertEqual(set(f()), set())
2308 self.assertEqual(set(f()), set())
2315 self.assertEqual(set(f()), set())
2322 self.assertEqual(set(f()), {"abc"})
2329 self.assertEqual(set(f()), {"a", "b"})
2336 self.assertEqual(set(f()), {"a", "b"})
2343 self.assertEqual(set(f()), {"x", "y"})
2350 self.assertEqual(set(f()), {"a", "b"})
2357 self.assertEqual(f(0), 0)
2358 self.assertEqual(f(1), 0)
2359 self.assertEqual(f(2), 0)
2360 self.assertEqual(f(3), 0)
2367 self.assertEqual(f(0), 0)
2379 self.assertEqual(f(0), 0)
2380 self.assertEqual(f(1), 1)
2381 self.assertEqual(f(2), 1)
2382 self.assertEqual(f(3), 1)
2391 self.assertEqual(f(0), 0)
2392 self.assertEqual(f(1), 1)
2405 self.assertEqual(f(0), 0)
2406 self.assertEqual(f(1), 1)
2407 self.assertEqual(f(2), 2)
2408 self.assertEqual(f(3), 2)
2419 self.assertEqual(f(0), 0)
2420 self.assertEqual(f(1), 1)
2421 self.assertEqual(f(2), 2)
2428 self.assertEqual(x, 0)
2435 self.assertEqual(x, 0)
2436 self.assertEqual(y, 0)
2445 self.assertEqual(x, 0)
2446 self.assertEqual(y, 1)
2455 self.assertEqual(x, 1)
2456 self.assertEqual(y, 1)
2468 self.assertEqual(y, None)
2476 self.assertEqual(y, 0)
2484 self.assertEqual(y, 0)
2492 self.assertEqual(y, 0)
2499 self.assertEqual(w, 0)
2500 self.assertEqual(x, 0)
2501 self.assertEqual(y, 0)
2502 self.assertEqual(z, 0)
2509 self.assertEqual(w, 0)
2510 self.assertEqual(x, 0)
2511 self.assertEqual(y, 0)
2512 self.assertEqual(z, 0)
2519 self.assertEqual(a, 0)
2520 self.assertEqual(b, 0)
2521 self.assertEqual(c, 1)
2522 self.assertEqual(d, 1)
2523 self.assertEqual(e, (0, 1))
2524 self.assertEqual(f, 2)
2525 self.assertEqual(g, 2)
2526 self.assertEqual(h, 3)
2527 self.assertEqual(i, (2, 3))
2528 self.assertEqual(w, (0, 1))
2529 self.assertEqual(x, ((0, 1), (2, 3)))
2530 self.assertEqual(y, 0)
2531 self.assertEqual(z, (2, 3))
2538 self.assertEqual(x, {0: 1, 2: 3})
2539 self.assertEqual(y, 0)
2546 self.assertEqual(x, {0: 1, 2: 3})
2547 self.assertEqual(y, 0)
2548 self.assertEqual(z, {0: 1})
2555 self.assertEqual(x, [[{0: 0}]])
2556 self.assertEqual(y, 0)
2557 self.assertEqual(z, 0)
2564 self.assertEqual(w, 0)
2565 self.assertEqual(x, range(3))
2566 self.assertEqual(y, 0)
2567 self.assertEqual(z, 2)
2574 self.assertEqual(x, range(3))
2575 self.assertEqual(y, 2)
2576 self.assertEqual(z, 0)
2583 self.assertEqual(x, range(3))
2584 self.assertEqual(y, 2)
2585 self.assertEqual(z, 0)
2592 self.assertEqual(x, {"y": 1})
2593 self.assertEqual(y, 1)
2594 self.assertEqual(z, 0)
2614 self.assertEqual(f(range(10)), alts[0])
2615 self.assertEqual(f(range(1, 11)), alts[1])
2616 self.assertEqual(f(range(0, -10, -1)), alts[2])
2617 self.assertEqual(f(range(-1, -11, -1)), alts[3])
2618 self.assertEqual(f(range(10, 20)), alts[4])
2638 self.assertEqual(f((False, range(10), True)), alts[0])
2639 self.assertEqual(f((False, range(1, 11), True)), alts[1])
2640 self.assertEqual(f((False, range(0, -10, -1), True)), alts[2])
2641 self.assertEqual(f((False, range(-1, -11, -1), True)), alts[3])
2642 self.assertEqual(f((False, range(10, 20), True)), alts[4])
2961 self.assertEqual(x, range(10))
3154 def assertEqual(*_, **__): member in PerfPatma