|
| 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_paramspec_variance.py:14:39 - error: Type "ContravariantParamSpec[(object)]" is not assignable to declared type "ContravariantParamSpec[(int)]"'] |
| 7 | +Line 23: Unexpected errors ['generics_paramspec_variance.py:23:39 - error: Type "CovariantParamSpec[(int)]" is not assignable to declared type "CovariantParamSpec[(object)]"'] |
| 8 | +Line 26: Unexpected errors ['generics_paramspec_variance.py:26:24 - error: "contravariant" is unknown parameter to ParamSpec (reportGeneralTypeIssues)'] |
| 9 | +Line 34: Unexpected errors ['generics_paramspec_variance.py:34:46 - error: Type "ContravariantParamSpecOld[(object)]" is not assignable to declared type "ContravariantParamSpecOld[(int)]"'] |
| 10 | +Line 37: Unexpected errors ['generics_paramspec_variance.py:37:26 - error: "covariant" is unknown parameter to ParamSpec (reportGeneralTypeIssues)'] |
| 11 | +Line 46: Unexpected errors ['generics_paramspec_variance.py:46:46 - error: Type "CovariantParamSpecOld[(int)]" is not assignable to declared type "CovariantParamSpecOld[(object)]"'] |
| 12 | +""" |
| 13 | +output = """ |
| 14 | +generics_paramspec_variance.py:14:39 - error: Type "ContravariantParamSpec[(object)]" is not assignable to declared type "ContravariantParamSpec[(int)]" |
| 15 | + "ContravariantParamSpec[(object)]" is not assignable to "ContravariantParamSpec[(int)]" |
| 16 | + Type parameter "InP@ContravariantParamSpec" is invariant, but "(object)" is not the same as "(int)" (reportAssignmentType) |
| 17 | +generics_paramspec_variance.py:15:10 - error: Type "ContravariantParamSpec[(int)]" is not assignable to declared type "ContravariantParamSpec[(object)]" |
| 18 | + "ContravariantParamSpec[(int)]" is not assignable to "ContravariantParamSpec[(object)]" |
| 19 | + Type parameter "InP@ContravariantParamSpec" is invariant, but "(int)" is not the same as "(object)" (reportAssignmentType) |
| 20 | +generics_paramspec_variance.py:23:39 - error: Type "CovariantParamSpec[(int)]" is not assignable to declared type "CovariantParamSpec[(object)]" |
| 21 | + "CovariantParamSpec[(int)]" is not assignable to "CovariantParamSpec[(object)]" |
| 22 | + Type parameter "OutP@CovariantParamSpec" is invariant, but "(int)" is not the same as "(object)" (reportAssignmentType) |
| 23 | +generics_paramspec_variance.py:24:11 - error: Type "CovariantParamSpec[(object)]" is not assignable to declared type "CovariantParamSpec[(int)]" |
| 24 | + "CovariantParamSpec[(object)]" is not assignable to "CovariantParamSpec[(int)]" |
| 25 | + Type parameter "OutP@CovariantParamSpec" is invariant, but "(object)" is not the same as "(int)" (reportAssignmentType) |
| 26 | +generics_paramspec_variance.py:26:24 - error: "contravariant" is unknown parameter to ParamSpec (reportGeneralTypeIssues) |
| 27 | +generics_paramspec_variance.py:34:46 - error: Type "ContravariantParamSpecOld[(object)]" is not assignable to declared type "ContravariantParamSpecOld[(int)]" |
| 28 | + "ContravariantParamSpecOld[(object)]" is not assignable to "ContravariantParamSpecOld[(int)]" |
| 29 | + Type parameter "InP@ContravariantParamSpecOld" is invariant, but "(object)" is not the same as "(int)" (reportAssignmentType) |
| 30 | +generics_paramspec_variance.py:35:14 - error: Type "ContravariantParamSpecOld[(int)]" is not assignable to declared type "ContravariantParamSpecOld[(object)]" |
| 31 | + "ContravariantParamSpecOld[(int)]" is not assignable to "ContravariantParamSpecOld[(object)]" |
| 32 | + Type parameter "InP@ContravariantParamSpecOld" is invariant, but "(int)" is not the same as "(object)" (reportAssignmentType) |
| 33 | +generics_paramspec_variance.py:37:26 - error: "covariant" is unknown parameter to ParamSpec (reportGeneralTypeIssues) |
| 34 | +generics_paramspec_variance.py:46:46 - error: Type "CovariantParamSpecOld[(int)]" is not assignable to declared type "CovariantParamSpecOld[(object)]" |
| 35 | + "CovariantParamSpecOld[(int)]" is not assignable to "CovariantParamSpecOld[(object)]" |
| 36 | + Type parameter "OutP@CovariantParamSpecOld" is invariant, but "(int)" is not the same as "(object)" (reportAssignmentType) |
| 37 | +generics_paramspec_variance.py:47:15 - error: Type "CovariantParamSpecOld[(object)]" is not assignable to declared type "CovariantParamSpecOld[(int)]" |
| 38 | + "CovariantParamSpecOld[(object)]" is not assignable to "CovariantParamSpecOld[(int)]" |
| 39 | + Type parameter "OutP@CovariantParamSpecOld" is invariant, but "(object)" is not the same as "(int)" (reportAssignmentType) |
| 40 | +""" |
0 commit comments