Skip to content

Commit 5aa3d40

Browse files
committed
fix test
1 parent 6e0153a commit 5aa3d40

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

mypyc/test/test_emit.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ def test_nested_supported_literals(self) -> None:
3939
item_b = ("outer", 2, frozenset({("x", 3)}))
4040
literal_a = frozenset({item_a, item_b})
4141
literal_b = frozenset({item_b, item_a})
42-
expected = (
43-
"frozenset({('outer', 1, frozenset({('m', 0), ('n', 1)})), "
44-
"('outer', 2, frozenset({('x', 3)}))})"
45-
)
42+
expected = "frozenset({('outer', 2, frozenset({('x', 3)})), ('outer', 1, frozenset({('m', 0), ('n', 1)}))})"
4643

4744
assert pformat_deterministic(literal_a, 120) == expected
4845
assert pformat_deterministic(literal_b, 120) == expected

0 commit comments

Comments
 (0)