mirror of
https://github.com/davidhalter/jedi.git
synced 2026-04-28 19:45:31 +08:00
Fix issues around whitespace after dot completions, fixes #1954
This commit is contained in:
@@ -867,3 +867,9 @@ def test_star_import_completions():
|
||||
|
||||
assert 'dump' in names
|
||||
assert 'dumps' in names
|
||||
|
||||
|
||||
def test_whitespace_after_dot_completion(Script):
|
||||
# From #1954
|
||||
completions = jedi.Interpreter("object. \n", []).complete(1, 8)
|
||||
assert "mro" in [c.name for c in completions]
|
||||
|
||||
Reference in New Issue
Block a user