summaryrefslogtreecommitdiff
path: root/tests/functional/p/postponed/postponed_evaluation_activated_with_alias.py
blob: f9899f34a5d1f1d1692d1ca90ee62672ed0fbf4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# pylint: disable=missing-docstring,unused-argument,pointless-statement
# pylint: disable=too-few-public-methods,no-name-in-module
from __future__ import annotations as __annotations__


class MyClass:
    @classmethod
    def from_string(cls, source) -> MyClass:
        ...

    def validate_b(self, obj: OtherClass) -> bool:
        ...


class OtherClass:
    ...


class Example:
    obj: Other


class Other:
    ...


class ExampleSelf:
    next: ExampleSelf