We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d39c89 commit c05cfa3Copy full SHA for c05cfa3
mypyc/test-data/run-dicts.test
@@ -84,13 +84,13 @@ update_dict(d, object.__dict__)
84
assert d == dict(object.__dict__)
85
86
assert u(10) == 10
87
-assert get_content({1: 2}) == ([1], [2], [(1, 2)])
+assert get_content({1: 2}) == ([1], [2], [(1, 2)]), get_content({1: 2})
88
od = OrderedDict([(1, 2), (3, 4)])
89
-assert get_content(od) == ([1, 3], [2, 4], [(1, 2), (3, 4)])
+assert get_content(od) == ([1, 3], [2, 4], [(1, 2), (3, 4)]), get_content(od)
90
od.move_to_end(1)
91
-assert get_content(od) == ([3, 1], [4, 2], [(3, 4), (1, 2)])
92
-assert get_content_set({1: 2}) == ({1}, {2}, {(1, 2)})
93
-assert get_content_set(od) == ({1, 3}, {2, 4}, {(1, 2), (3, 4)})
+assert get_content(od) == ([3, 1], [4, 2], [(3, 4), (1, 2)]), get_content(od)
+assert get_content_set({1: 2}) == ({1}, {2}, {(1, 2)}), get_content_set({1: 2})
+assert get_content_set(od) == ({1, 3}, {2, 4}, {(1, 2), (3, 4)}), get_content_set(od)
94
95
[typing fixtures/typing-full.pyi]
96
0 commit comments