def test_decorator_string_issue():
 source = dedent('    """\n      @"""\n    def bla():\n      pass\n\n    bla.')
 s = jedi.Script(source)
 assert s.completions()
 assert (s._get_module().get_code() == source)

def test_decorator_string_issue ( ) : source = dedent ( '    """\n      @"""\n    def bla():\n      pass\n\n    bla.' ) s = jedi . Script ( source ) assert s . completions ( ) assert ( s . _get_module ( ) . get_code ( ) == source )
test case from #589 .