Fix a goto_definitions test.

This commit is contained in:
Dave Halter
2016-06-13 18:26:20 +02:00
parent 27f05de3b7
commit 653f247a42
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ def test_doc():
def test_string_literals():
def typ(string):
d = Script(string).goto_definitions()[0]
d = Script("a = %s; a" % string).goto_definitions()[0]
return d.name
assert typ('""') == 'str'