diff options
Diffstat (limited to 'tests/functional/p/postponed/postponed_evaluation_not_activated.py')
-rw-r--r-- | tests/functional/p/postponed/postponed_evaluation_not_activated.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/functional/p/postponed/postponed_evaluation_not_activated.py b/tests/functional/p/postponed/postponed_evaluation_not_activated.py new file mode 100644 index 000000000..76e564a9a --- /dev/null +++ b/tests/functional/p/postponed/postponed_evaluation_not_activated.py @@ -0,0 +1,14 @@ +# pylint: disable=missing-docstring,unused-argument,pointless-statement +# pylint: disable=too-few-public-methods + +class Class: + @classmethod + def from_string(cls, source) -> Class: # [undefined-variable] + ... + + def validate_b(self, obj: OtherClass) -> bool: # [used-before-assignment] + ... + + +class OtherClass: + ... |