Skip to content

Commit a22dc28

Browse files
committed
Fix pythoneval test
1 parent 4425b15 commit a22dc28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/pythoneval.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,8 @@ reveal_type(g)
10261026
with f('') as s:
10271027
reveal_type(s)
10281028
[out]
1029-
_program.py:13: note: Revealed type is "def (x: builtins.int) -> contextlib._GeneratorContextManager[builtins.str]"
1030-
_program.py:14: note: Revealed type is "def (*x: builtins.str) -> contextlib._GeneratorContextManager[builtins.int]"
1029+
_program.py:13: note: Revealed type is "def (x: builtins.int) -> contextlib._GeneratorContextManager[builtins.str, None, None]"
1030+
_program.py:14: note: Revealed type is "def (*x: builtins.str) -> contextlib._GeneratorContextManager[builtins.int, None, None]"
10311031
_program.py:16: error: Argument 1 to "f" has incompatible type "str"; expected "int"
10321032
_program.py:17: note: Revealed type is "builtins.str"
10331033

0 commit comments

Comments
 (0)