Skip to content

Commit cadf7ff

Browse files
committed
Update couple more tests
1 parent 6a1aac8 commit cadf7ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/check-serialize.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def f(__x: int) -> None: pass
158158
[out2]
159159
tmp/a.py:3: error: Argument 1 to "f" has incompatible type "str"; expected "int"
160160
tmp/a.py:4: error: Unexpected keyword argument "__x" for "f"
161-
tmp/b.py: note: "f" defined here
161+
tmp/b.py:1: note: "f" defined here
162162

163163
[case testSerializeArgumentKindsErrors]
164164
import a
@@ -224,7 +224,7 @@ def f(x: int) -> int: pass
224224
[out2]
225225
tmp/a.py:2: note: Revealed type is "builtins.str"
226226
tmp/a.py:3: error: Unexpected keyword argument "x" for "f"
227-
tmp/b.py: note: "f" defined here
227+
tmp/b.py:4: note: "f" defined here
228228

229229
[case testSerializeTypeGuardFunction]
230230
import a

0 commit comments

Comments
 (0)