Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29af80b

Browse files
committed
test-on-property
1 parent 69a84ca commit 29af80b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/test_completer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2093,10 +2093,11 @@ def _(expected):
20932093
"\n".join(
20942094
[
20952095
"class NotYetDefined:",
2096-
" def my_method(self):",
2096+
" @property",
2097+
" def my_property(self):",
20972098
" return 1.1",
20982099
"my_instance = NotYetDefined()",
2099-
"my_instance.my_method().",
2100+
"my_instance.my_property.",
21002101
]
21012102
),
21022103
"as_integer_ratio",

0 commit comments

Comments
 (0)