mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
CompiledObject.get_index_types implementation example
This commit is contained in:
@@ -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