summaryrefslogtreecommitdiff
path: root/tests/functional/postponed_evaluation_activated.py
blob: 3cc694d47966ea58096b9b33f14d0325b2ff8df1 (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,no-self-use,unused-argument,pointless-statement
# pylint: disable=too-few-public-methods,no-name-in-module
from __future__ import annotations


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

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


class OtherClass:
    ...


class Example:
    obj: Other


class Other:
    ...


class ExampleSelf:
    next: ExampleSelf