Skip to content

Commit 9ead9fb

Browse files
committed
Fix tests
1 parent 0024062 commit 9ead9fb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test-data/unit/cmdline.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,8 +912,8 @@ test_between(1 + 1)
912912
tabs.py:2: error: Incompatible return value type (got "None", expected "str")
913913
return None
914914
^~~~
915-
tabs.py:4: error: Argument 1 to "test_between" has incompatible type
916-
"Literal[2]"; expected "str"
915+
tabs.py:4: error: Argument 1 to "test_between" has incompatible type "int";
916+
expected "str"
917917
test_between(1 + 1)
918918
^~~~~~~~~~~~
919919

test-data/unit/typexport-basic.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class str: pass
142142
class list: pass
143143
class dict: pass
144144
[out]
145-
OpExpr(3) : Literal[3]
145+
OpExpr(3) : builtins.int
146146
OpExpr(4) : builtins.float
147147
OpExpr(5) : builtins.float
148148
OpExpr(6) : builtins.float

0 commit comments

Comments
 (0)