@@ -225,6 +225,7 @@ def f(): # type: (x) -> x x
225225file:1: error: syntax error in type comment
226226
227227[case testDuplicateSignatures1-skip]
228+ # see mypy issue #2733
228229def f() -> None: # type: () -> None
229230 pass
230231def f(): # type: () -> None
@@ -233,6 +234,7 @@ def f(): # type: () -> None
233234file:1: error: Function has duplicate type signatures
234235
235236[case testDuplicateSignatures2-skip]
237+ # see mypy issue #2733
236238def f(x, y: Z): # type: (x, y) -> z
237239 pass
238240[out]
@@ -251,6 +253,7 @@ def f(x, y): # type: (X) -> z
251253file:1: error: Type signature has too few arguments
252254
253255[case testCommentFunctionAnnotationVarArgMispatch-skip]
256+ # see mypy issue #1997
254257def f(x): # type: (*X) -> Y
255258 pass
256259def g(*x): # type: (X) -> Y
@@ -260,6 +263,7 @@ file:1: error: Inconsistent use of '*' in function signature
260263file:3: error: Inconsistent use of '*' in function signature
261264
262265[case testCommentFunctionAnnotationVarArgMispatch2-skip]
266+ # see mypy issue #1997
263267def f(*x, **y): # type: (**X, *Y) -> Z
264268 pass
265269def g(*x, **y): # type: (*X, *Y) -> Z
0 commit comments