mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
import statements completion; little bug noticed in #27
This commit is contained in:
@@ -105,6 +105,8 @@ class TestRegression(unittest.TestCase):
|
||||
assert 10 < len(self.complete("from .", (1, 5))) < 30
|
||||
assert 10 < len(self.complete("from . import", (1, 5))) < 30
|
||||
assert 10 < len(self.complete("from . import classes", (1, 5))) < 30
|
||||
assert len(self.complete("import")) == 0
|
||||
assert len(self.complete("import import")) > 0
|
||||
|
||||
def test_get_in_function_call(self):
|
||||
def check(call_def, name, index):
|
||||
|
||||
Reference in New Issue
Block a user