|
| 1 | +conformant = "Unsupported" |
| 2 | +conformance_automated = "Fail" |
| 3 | +errors_diff = """ |
| 4 | +Line 31: Expected 1 errors |
| 5 | +Line 41: Expected 1 errors |
| 6 | +Line 14: Unexpected errors ['generics_typevartuple_variance.py:14:42 - error: Type "ContravariantTypeVarTuple[(object)]" is not assignable to declared type "ContravariantTypeVarTuple[(int)]"'] |
| 7 | +Line 23: Unexpected errors ['generics_typevartuple_variance.py:23:42 - error: Type "CovariantTypeVarTuple[(int)]" is not assignable to declared type "CovariantTypeVarTuple[(object)]"'] |
| 8 | +Line 26: Unexpected errors ['generics_typevartuple_variance.py:26:29 - error: "contravariant" is unknown parameter to TypeVarTuple (reportGeneralTypeIssues)'] |
| 9 | +Line 34: Unexpected errors ['generics_typevartuple_variance.py:34:49 - error: Type "ContravariantTypeVarTupleOld[object]" is not assignable to declared type "ContravariantTypeVarTupleOld[int]"'] |
| 10 | +Line 37: Unexpected errors ['generics_typevartuple_variance.py:37:31 - error: "covariant" is unknown parameter to TypeVarTuple (reportGeneralTypeIssues)'] |
| 11 | +Line 46: Unexpected errors ['generics_typevartuple_variance.py:46:49 - error: Type "CovariantTypeVarTupleOld[int]" is not assignable to declared type "CovariantTypeVarTupleOld[object]"'] |
| 12 | +""" |
| 13 | +output = """ |
| 14 | +generics_typevartuple_variance.py:14:42 - error: Type "ContravariantTypeVarTuple[(object)]" is not assignable to declared type "ContravariantTypeVarTuple[(int)]" |
| 15 | + "ContravariantTypeVarTuple[(object)]" is not assignable to "ContravariantTypeVarTuple[(int)]" |
| 16 | + Type parameter "InTs@ContravariantTypeVarTuple" is invariant, but "(object)" is not the same as "(int)" (reportAssignmentType) |
| 17 | +generics_typevartuple_variance.py:15:10 - error: Type "ContravariantTypeVarTuple[(int)]" is not assignable to declared type "ContravariantTypeVarTuple[(object)]" |
| 18 | + "ContravariantTypeVarTuple[(int)]" is not assignable to "ContravariantTypeVarTuple[(object)]" |
| 19 | + Type parameter "InTs@ContravariantTypeVarTuple" is invariant, but "(int)" is not the same as "(object)" (reportAssignmentType) |
| 20 | +generics_typevartuple_variance.py:23:42 - error: Type "CovariantTypeVarTuple[(int)]" is not assignable to declared type "CovariantTypeVarTuple[(object)]" |
| 21 | + "CovariantTypeVarTuple[(int)]" is not assignable to "CovariantTypeVarTuple[(object)]" |
| 22 | + Type parameter "OutTs@CovariantTypeVarTuple" is invariant, but "(int)" is not the same as "(object)" (reportAssignmentType) |
| 23 | +generics_typevartuple_variance.py:24:11 - error: Type "CovariantTypeVarTuple[(object)]" is not assignable to declared type "CovariantTypeVarTuple[(int)]" |
| 24 | + "CovariantTypeVarTuple[(object)]" is not assignable to "CovariantTypeVarTuple[(int)]" |
| 25 | + Type parameter "OutTs@CovariantTypeVarTuple" is invariant, but "(object)" is not the same as "(int)" (reportAssignmentType) |
| 26 | +generics_typevartuple_variance.py:26:29 - error: "contravariant" is unknown parameter to TypeVarTuple (reportGeneralTypeIssues) |
| 27 | +generics_typevartuple_variance.py:34:49 - error: Type "ContravariantTypeVarTupleOld[object]" is not assignable to declared type "ContravariantTypeVarTupleOld[int]" |
| 28 | + "ContravariantTypeVarTupleOld[object]" is not assignable to "ContravariantTypeVarTupleOld[int]" |
| 29 | + Type parameter "InTs@ContravariantTypeVarTupleOld" is invariant, but "*tuple[object]" is not the same as "*tuple[int]" (reportAssignmentType) |
| 30 | +generics_typevartuple_variance.py:35:14 - error: Type "ContravariantTypeVarTupleOld[int]" is not assignable to declared type "ContravariantTypeVarTupleOld[object]" |
| 31 | + "ContravariantTypeVarTupleOld[int]" is not assignable to "ContravariantTypeVarTupleOld[object]" |
| 32 | + Type parameter "InTs@ContravariantTypeVarTupleOld" is invariant, but "*tuple[int]" is not the same as "*tuple[object]" (reportAssignmentType) |
| 33 | +generics_typevartuple_variance.py:37:31 - error: "covariant" is unknown parameter to TypeVarTuple (reportGeneralTypeIssues) |
| 34 | +generics_typevartuple_variance.py:46:49 - error: Type "CovariantTypeVarTupleOld[int]" is not assignable to declared type "CovariantTypeVarTupleOld[object]" |
| 35 | + "CovariantTypeVarTupleOld[int]" is not assignable to "CovariantTypeVarTupleOld[object]" |
| 36 | + Type parameter "OutTs@CovariantTypeVarTupleOld" is invariant, but "*tuple[int]" is not the same as "*tuple[object]" (reportAssignmentType) |
| 37 | +generics_typevartuple_variance.py:47:15 - error: Type "CovariantTypeVarTupleOld[object]" is not assignable to declared type "CovariantTypeVarTupleOld[int]" |
| 38 | + "CovariantTypeVarTupleOld[object]" is not assignable to "CovariantTypeVarTupleOld[int]" |
| 39 | + Type parameter "OutTs@CovariantTypeVarTupleOld" is invariant, but "*tuple[object]" is not the same as "*tuple[int]" (reportAssignmentType) |
| 40 | +""" |
0 commit comments