1
0
forked from VimPlug/jedi

Use even more stubs to get more complex completions for e.g. strings working

This commit is contained in:
Dave Halter
2019-06-07 02:37:51 +02:00
parent 97f342fc4c
commit 94dfe7bf69
10 changed files with 48 additions and 15 deletions

View File

@@ -167,6 +167,14 @@ def test_list():
['upper'])
def test_getattr():
class Foo1:
bar = []
baz = 'bar'
_assert_interpreter_complete('getattr(Foo1, baz).app', locals(), ['append'])
@pytest.mark.xfail(reason='For now slicing on strings is not supported for mixed objects')
def test_slice():
class Foo1:
bar = []