mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 00:45:16 +08:00
Use even more stubs to get more complex completions for e.g. strings working
This commit is contained in:
1 parent
97f342fc4c
commit
94dfe7bf69
10 files changed
+48
-15
No files matched your search
@@ -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 = []
|
||||
|
||||
Reference in new issue
Block a user