|
1 | 1 | conformant = "Partial" |
2 | 2 | output = """ |
3 | 3 | generics_defaults_referential.py:23: error: Expression is of type "type[slice[StartT, StopT, StepT]]", not "type[slice[int, int, int | None]]" [assert-type] |
4 | | -generics_defaults_referential.py:37: error: Argument 1 to "Foo" has incompatible type "str"; expected "int" [arg-type] |
5 | | -generics_defaults_referential.py:53: error: Type parameter "Start2T" has a default type that refers to one or more type variables that are out of scope [misc] |
6 | | -generics_defaults_referential.py:74: error: TypeVar default must be one of the constraint types [misc] |
7 | | -generics_defaults_referential.py:77: error: TypeVar default must be one of the constraint types [misc] |
| 4 | +generics_defaults_referential.py:38: error: Argument 1 to "Foo" has incompatible type "str"; expected "int" [arg-type] |
| 5 | +generics_defaults_referential.py:54: error: Type parameter "Start2T" has a default type that refers to one or more type variables that are out of scope [misc] |
| 6 | +generics_defaults_referential.py:75: error: TypeVar default must be one of the constraint types [misc] |
8 | 7 | generics_defaults_referential.py:78: error: TypeVar default must be one of the constraint types [misc] |
9 | | -generics_defaults_referential.py:103: error: Expression is of type "Bar[int, list[Never]]", not "Bar[int, list[int]]" [assert-type] |
| 8 | +generics_defaults_referential.py:79: error: TypeVar default must be one of the constraint types [misc] |
| 9 | +generics_defaults_referential.py:104: error: Expression is of type "Bar[int, list[Never]]", not "Bar[int, list[int]]" [assert-type] |
10 | 10 | """ |
11 | 11 | conformance_automated = "Fail" |
12 | 12 | errors_diff = """ |
13 | | -Line 36: Expected 1 errors |
14 | | -Line 60: Expected 1 errors |
15 | | -Line 68: Expected 1 errors |
| 13 | +Line 37: Expected 1 errors |
| 14 | +Line 61: Expected 1 errors |
| 15 | +Line 69: Expected 1 errors |
16 | 16 | Line 23: Unexpected errors ['generics_defaults_referential.py:23: error: Expression is of type "type[slice[StartT, StopT, StepT]]", not "type[slice[int, int, int | None]]" [assert-type]'] |
17 | | -Line 77: Unexpected errors ['generics_defaults_referential.py:77: error: TypeVar default must be one of the constraint types [misc]'] |
18 | | -Line 103: Unexpected errors ['generics_defaults_referential.py:103: error: Expression is of type "Bar[int, list[Never]]", not "Bar[int, list[int]]" [assert-type]'] |
| 17 | +Line 78: Unexpected errors ['generics_defaults_referential.py:78: error: TypeVar default must be one of the constraint types [misc]'] |
| 18 | +Line 104: Unexpected errors ['generics_defaults_referential.py:104: error: Expression is of type "Bar[int, list[Never]]", not "Bar[int, list[int]]" [assert-type]'] |
19 | 19 | """ |
0 commit comments