mirror of https://github.com/astral-sh/ruff
Delete crates/ty_python_semantic/resources/corpus/protocol_property_check.py
This commit is contained in:
parent
1bff6caba6
commit
f855a0d30e
|
|
@ -1,20 +0,0 @@
|
|||
from typing import Protocol
|
||||
|
||||
class Foo[T]: ...
|
||||
|
||||
class A(Protocol):
|
||||
@property
|
||||
def _(self: "A") -> Foo: ...
|
||||
|
||||
class B(Protocol):
|
||||
@property
|
||||
def b(self) -> Foo[A]: ...
|
||||
|
||||
class C(Undefined): ...
|
||||
|
||||
class D:
|
||||
b: Foo[C]
|
||||
|
||||
class E[T: B](Protocol): ...
|
||||
|
||||
x: E[D]
|
||||
Loading…
Reference in New Issue