mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-03 03:13:45 +08:00
Fix a small test error
This commit is contained in:
1 parent
7019ca643e
commit
21531abd1e
1 file changed
+2
-2
@@ -4,11 +4,11 @@ Tests of ``jedi.api.Interpreter``.
|
||||
import pytest
|
||||
|
||||
import jedi
|
||||
from jedi._compatibility import is_py33, is_py3
|
||||
from jedi._compatibility import is_py33, py_version
|
||||
from jedi.evaluate.compiled import mixed
|
||||
|
||||
|
||||
if is_py3:
|
||||
if py_version > 30:
|
||||
def exec_(source, global_map):
|
||||
exec(source, global_map)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user