Refactor run.py to use the new API

This commit is contained in:
Dave Halter
2019-12-20 17:25:35 +01:00
parent 2cc898ba35
commit f03c70e577
3 changed files with 37 additions and 41 deletions

View File

@@ -13,7 +13,6 @@ def test_fstring_multiline(Script):
'' f'''s{
str.uppe
'''
"""
)
""")
c, = Script(code).complete(line=2, column=9)
assert c.name == 'upper'