diff --git a/test/completion/completion.py b/test/completion/completion.py new file mode 100644 index 00000000..91bc2aa5 --- /dev/null +++ b/test/completion/completion.py @@ -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