|
1 | | -conformant = "Partial" |
| 1 | +conformant = "Pass" |
2 | 2 | notes = """ |
3 | | -Conformance suite is questionable; see https://github.com/python/typing/issues/2259 |
4 | | -""" |
5 | | -conformance_automated = "Fail" |
6 | | -errors_diff = """ |
7 | | -Line 61: Unexpected errors ['./dataclasses_descriptors.py:61:12: Any[error] is not equivalent to list[int]', "./dataclasses_descriptors.py:61:12: <class 'DC2'> has no attribute 'x' [undefined_attribute]"] |
8 | | -Line 62: Unexpected errors ['./dataclasses_descriptors.py:62:12: Any[error] is not equivalent to list[str]', "./dataclasses_descriptors.py:62:12: <class 'DC2'> has no attribute 'y' [undefined_attribute]"] |
9 | | -Line 63: Unexpected errors ['./dataclasses_descriptors.py:63:12: list[Any[generic_argument]] is not equivalent to list[str]'] |
10 | | -Line 66: Unexpected errors ['./dataclasses_descriptors.py:66:12: ./dataclasses_descriptors.py.Desc2[int] is not equivalent to int'] |
11 | | -Line 67: Unexpected errors ['./dataclasses_descriptors.py:67:12: ./dataclasses_descriptors.py.Desc2[str] is not equivalent to str'] |
12 | | -Line 68: Unexpected errors ['./dataclasses_descriptors.py:68:12: Any[generic_argument] is not equivalent to str'] |
13 | | -""" |
14 | | -output = """ |
15 | | -./dataclasses_descriptors.py:61:12: Any[error] is not equivalent to list[int] |
16 | | -./dataclasses_descriptors.py:61:12: <class 'DC2'> has no attribute 'x' [undefined_attribute] |
17 | | -./dataclasses_descriptors.py:62:12: Any[error] is not equivalent to list[str] |
18 | | -./dataclasses_descriptors.py:62:12: <class 'DC2'> has no attribute 'y' [undefined_attribute] |
19 | | -./dataclasses_descriptors.py:63:12: list[Any[generic_argument]] is not equivalent to list[str] |
20 | | -./dataclasses_descriptors.py:66:12: ./dataclasses_descriptors.py.Desc2[int] is not equivalent to int |
21 | | -./dataclasses_descriptors.py:67:12: ./dataclasses_descriptors.py.Desc2[str] is not equivalent to str |
22 | | -./dataclasses_descriptors.py:68:12: Any[generic_argument] is not equivalent to str |
| 3 | +Previously failed due to assumptions about non-data descriptor behavior in |
| 4 | +dataclasses that were removed from the conformance test because the behavior |
| 5 | +is currently under-specified. |
23 | 6 | """ |
| 7 | +conformance_automated = "Pass" |
0 commit comments