mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Test for the issue #589.
This commit is contained in:
@@ -441,3 +441,17 @@ def test_string_literals():
|
|||||||
|
|
||||||
script = jedi.Script(dedent(source))
|
script = jedi.Script(dedent(source))
|
||||||
assert script.completions()
|
assert script.completions()
|
||||||
|
|
||||||
|
|
||||||
|
def test_decorator_string_issue():
|
||||||
|
"""
|
||||||
|
Test case from #589
|
||||||
|
"""
|
||||||
|
s = jedi.Script(dedent('''\
|
||||||
|
"""
|
||||||
|
@"""
|
||||||
|
def bla():
|
||||||
|
pass
|
||||||
|
|
||||||
|
bla.'''))
|
||||||
|
assert s.completions()
|
||||||
|
|||||||
Reference in New Issue
Block a user