Add some completion tests.

This commit is contained in:
Dave Halter
2016-07-28 23:16:37 +02:00
parent 142f6652b5
commit 77fa2928ee

View File

@@ -0,0 +1,26 @@
"""
Special cases of completions (typically special positions that caused issues
with context parsing.
"""
def pass_decorator(func):
return func
def x():
return (
1,
#? ["tuple"]
tuple
)
# Comment just somewhere
class MyClass:
@pass_decorator
def x(foo,
#? 5 ["tuple"]
tuple,
):
return 1