mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Fixed issues with last positions in the tokenizer, which was messed up a little bit a few commits ago.
This commit is contained in:
@@ -430,11 +430,11 @@ def test_incomplete_function():
|
||||
def test_string_literals():
|
||||
"""Simplified case of jedi-vim#377."""
|
||||
source = dedent("""
|
||||
x = ur''' '''
|
||||
x = ur'''
|
||||
|
||||
def foo():
|
||||
pass
|
||||
x""")
|
||||
""")
|
||||
|
||||
script = jedi.Script(dedent(source))
|
||||
assert script.completions()
|
||||
|
||||
Reference in New Issue
Block a user