Update ty results for v0.0.81 (#2359) · python/typing@5ab19c9 · GitHub
Skip to content

Commit 5ab19c9

Browse files
Update ty results for v0.0.81 (#2359)
1 parent 7eff331 commit 5ab19c9

5 files changed

Lines changed: 29 additions & 42 deletions

File tree

conformance/results/results.html

Lines changed: 4 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 8 deletions

conformance/results/ty/specialtypes_type.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
conformance_automated = "Fail"
22
conformant = "Partial"
33
notes = """
4-
Allows arbitrary attributes to be accessed on `TA` where `TA = typing.Type[typing.Any]` or `TA = type[typing.Any]`.
54
Treats `type` equivalently to `type[object]` rather than `type[typing.Any]`.
65
"""
76
errors_diff = """
8-
Line 144: Expected 1 errors
9-
Line 146: Expected 1 errors
107
Line 84: Unexpected errors ['specialtypes_type.py:84:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]`']
118
Line 99: Unexpected errors ['specialtypes_type.py:99:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown`']
129
Line 100: Unexpected errors ['specialtypes_type.py:100:17: error[unresolved-attribute] Object of type `type` has no attribute `unknown`']
@@ -31,7 +28,9 @@ specialtypes_type.py:120:5: error[unresolved-attribute] Object of type `type` ha
3128
specialtypes_type.py:137:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]`
3229
specialtypes_type.py:139:5: error[type-assertion-failure] Type `type` does not match asserted type `type[Any]`
3330
specialtypes_type.py:143:1: error[unresolved-attribute] Special form `typing.Type` has no attribute `unknown`
31+
specialtypes_type.py:144:1: error[unresolved-attribute] Object of type `<special-form 'type[Any]'>` has no attribute `unknown`
3432
specialtypes_type.py:145:1: error[unresolved-attribute] Class `type` has no attribute `unknown`
33+
specialtypes_type.py:146:1: error[unresolved-attribute] Object of type `<special-form 'type[Any]'>` has no attribute `unknown`
3534
specialtypes_type.py:169:21: error[invalid-assignment] Object of type `type` is not assignable to `type[int]`
3635
specialtypes_type.py:175:16: error[invalid-return-type] Return type does not match returned value: expected `type[T@ClassA]`, found `type`
3736
"""
Lines changed: 1 addition & 1 deletion

conformance/uv.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)