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