mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +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))
|
||||
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