diff --git a/test/completion/fstring.py b/test/completion/fstring.py new file mode 100644 index 00000000..fda3546e --- /dev/null +++ b/test/completion/fstring.py @@ -0,0 +1,17 @@ +# python >= 3.6 + +class Foo: + bar = 1 + +#? 10 int() +f'{Foo.bar}' +#? 10 ['bar'] +f'{Foo.bar}' +#? 10 int() +Fr'{Foo.bar' +#? 10 ['bar'] +Fr'{Foo.bar' +#? int() +Fr'{Foo.bar +#? ['bar'] +Fr'{Foo.bar