mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
restructure user_context reverse tokenizer to remove INDENT tokens in the future
This commit is contained in:
@@ -63,8 +63,8 @@ def test_after_from():
|
||||
completions = Script(source, column=column).completions()
|
||||
assert [c.name for c in completions] == result
|
||||
|
||||
check('from os ', ['import'])
|
||||
check('\nfrom os ', ['import'])
|
||||
check('from os ', ['import'])
|
||||
check('\nfrom os import whatever', ['import'], len('from os im'))
|
||||
|
||||
check('from os\\\n', ['import'])
|
||||
|
||||
Reference in New Issue
Block a user