remove _ast reference from test cases as well

This commit is contained in:
Srinivas Reddy Thatiparthy 2017-12-11 23:24:47 +05:30
parent cb0ba18f53
commit c2cd239d35
1 changed files with 2 additions and 5 deletions

View File

@ -8,13 +8,10 @@ import _pytest._code
import py
import pytest
from _pytest._code import Source
from _pytest._code.source import _ast
from _pytest._code.source import ast
if _ast is not None:
astonly = pytest.mark.nothing
else:
astonly = pytest.mark.xfail("True", reason="only works with AST-compile")
astonly = pytest.mark.nothing
failsonjython = pytest.mark.xfail("sys.platform.startswith('java')")