mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-15 18:17:07 +08:00
regression tests for #111
This commit is contained in:
@@ -119,6 +119,11 @@ class TestRegression(TestBase):
|
|||||||
assert len(self.complete("import")) == 0
|
assert len(self.complete("import")) == 0
|
||||||
assert len(self.complete("import import", path='')) > 0
|
assert len(self.complete("import import", path='')) > 0
|
||||||
|
|
||||||
|
# 111
|
||||||
|
assert self.complete("from datetime import") == []
|
||||||
|
print self.complete("from datetime import ")
|
||||||
|
assert self.complete("from datetime import ")
|
||||||
|
|
||||||
def test_get_in_function_call(self):
|
def test_get_in_function_call(self):
|
||||||
def check(call_def, name, index):
|
def check(call_def, name, index):
|
||||||
return call_def and call_def.call_name == name \
|
return call_def and call_def.call_name == name \
|
||||||
|
|||||||
Reference in New Issue
Block a user