Skip to content

Commit c05cfa3

Browse files
committed
dict test info
1 parent 0d39c89 commit c05cfa3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mypyc/test-data/run-dicts.test

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ update_dict(d, object.__dict__)
8484
assert d == dict(object.__dict__)
8585

8686
assert u(10) == 10
87-
assert get_content({1: 2}) == ([1], [2], [(1, 2)])
87+
assert get_content({1: 2}) == ([1], [2], [(1, 2)]), get_content({1: 2})
8888
od = OrderedDict([(1, 2), (3, 4)])
89-
assert get_content(od) == ([1, 3], [2, 4], [(1, 2), (3, 4)])
89+
assert get_content(od) == ([1, 3], [2, 4], [(1, 2), (3, 4)]), get_content(od)
9090
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)})
91+
assert get_content(od) == ([3, 1], [4, 2], [(3, 4), (1, 2)]), get_content(od)
92+
assert get_content_set({1: 2}) == ({1}, {2}, {(1, 2)}), get_content_set({1: 2})
93+
assert get_content_set(od) == ({1, 3}, {2, 4}, {(1, 2), (3, 4)}), get_content_set(od)
9494

9595
[typing fixtures/typing-full.pyi]
9696

0 commit comments

Comments
 (0)