forked from VimPlug/jedi
Obviously Python 3 syntax cannot be used in Python 2
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user