Skip to content

Commit f28329f

Browse files
committed
Add issue numbers for skipped tests
1 parent 3d20144 commit f28329f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test-data/unit/parse-errors.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def f(): # type: (x) -> x x
225225
file:1: error: syntax error in type comment
226226

227227
[case testDuplicateSignatures1-skip]
228+
# see mypy issue #2733
228229
def f() -> None: # type: () -> None
229230
pass
230231
def f(): # type: () -> None
@@ -233,6 +234,7 @@ def f(): # type: () -> None
233234
file:1: error: Function has duplicate type signatures
234235

235236
[case testDuplicateSignatures2-skip]
237+
# see mypy issue #2733
236238
def f(x, y: Z): # type: (x, y) -> z
237239
pass
238240
[out]
@@ -251,6 +253,7 @@ def f(x, y): # type: (X) -> z
251253
file:1: error: Type signature has too few arguments
252254

253255
[case testCommentFunctionAnnotationVarArgMispatch-skip]
256+
# see mypy issue #1997
254257
def f(x): # type: (*X) -> Y
255258
pass
256259
def g(*x): # type: (X) -> Y
@@ -260,6 +263,7 @@ file:1: error: Inconsistent use of '*' in function signature
260263
file:3: error: Inconsistent use of '*' in function signature
261264

262265
[case testCommentFunctionAnnotationVarArgMispatch2-skip]
266+
# see mypy issue #1997
263267
def f(*x, **y): # type: (**X, *Y) -> Z
264268
pass
265269
def g(*x, **y): # type: (*X, *Y) -> Z

test-data/unit/parse-python2.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ MypyFile:1(
110110
IntExpr(255)))
111111

112112
[case testLongLiteral-skip]
113+
# see typed_ast issue #26
113114
0L
114115
123L
115116
012L
@@ -368,6 +369,7 @@ MypyFile:1(
368369
PassStmt:1())))
369370

370371
[case testDuplicateNameInTupleArgList_python2-skip]
372+
# see mypy issue #2732
371373
def f(a, (a, b)):
372374
pass
373375
def g((x, (x, y))):

0 commit comments

Comments
 (0)