def test_string_literals():
 source = dedent("\n    x = ur''' \n\n    def foo():\n        pass\n    ")
 script = jedi.Script(dedent(source))
 (script._get_module().end_pos == (6, 0))
 assert script.completions()

def test_string_literals ( ) : source = dedent ( "\n    x = ur''' \n\n    def foo():\n        pass\n    " ) script = jedi . Script ( dedent ( source ) ) ( script . _get_module ( ) . end_pos == ( 6 , 0 ) ) assert script . completions ( )
simplified case of jedi-vim#377 .