mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 09:45:47 +08:00
CompiledObject.get_index_types implementation example
This commit is contained in:
1 parent
1facdb2961
commit
b8987fe451
2 files changed
+14
-1
No files matched your search
@@ -44,7 +44,10 @@ class TestInterpreterAPI(TestCase):
|
||||
completions)
|
||||
|
||||
def test_list(self):
|
||||
array = ['haha']
|
||||
array = ['haha', 1]
|
||||
self.check_interpreter_complete('array[0].uppe',
|
||||
locals(),
|
||||
['upper'])
|
||||
self.check_interpreter_complete('array[0].real',
|
||||
locals(),
|
||||
[])
|
||||
Reference in new issue
Block a user