mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
test lists in Interpreter, #297
This commit is contained in:
@@ -42,3 +42,9 @@ class TestInterpreterAPI(TestCase):
|
|||||||
self.check_interpreter_complete('(dt - dt).ti',
|
self.check_interpreter_complete('(dt - dt).ti',
|
||||||
locals(),
|
locals(),
|
||||||
completions)
|
completions)
|
||||||
|
|
||||||
|
def test_list(self):
|
||||||
|
array = ['haha']
|
||||||
|
self.check_interpreter_complete('array[0].uppe',
|
||||||
|
locals(),
|
||||||
|
['upper'])
|
||||||
|
|||||||
Reference in New Issue
Block a user