1
0
forked from VimPlug/jedi

Obviously Python 3 syntax cannot be used in Python 2

This commit is contained in:
Dave Halter
2018-04-08 21:38:03 +02:00
parent aa9f7fd304
commit 0c19219143

View File

@@ -2,7 +2,7 @@ import pytest
from jedi.evaluate.context import CompiledInstance
def _eval_literal(Script, code, *, is_fstring=False):
def _eval_literal(Script, code, is_fstring=False):
def_, = Script(code).goto_definitions()
if is_fstring:
assert def_.name == 'str'