Skip to content

Commit ecc2863

Browse files
committed
Enable test on pypy2
1 parent 7e7e49b commit ecc2863

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def pytest_configure():
215215
pytest.requires_eigen_and_scipy = skipif(
216216
not have_eigen or not scipy, reason="eigen and/or scipy are not installed")
217217
pytest.unsupported_on_pypy = skipif(pypy, reason="unsupported on PyPy")
218+
pytest.unsupported_on_pypy3 = skipif(pypy and sys.version_info.major >= 3,
219+
reason="unsupported on PyPy3")
218220
pytest.unsupported_on_pypy_lt_6 = skipif(pypy and sys.pypy_version_info[0] < 6,
219221
reason="unsupported on PyPy<6")
220222
pytest.unsupported_on_py2 = skipif(sys.version_info.major < 3,

tests/test_eval.

Whitespace-only changes.

tests/test_eval.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ def test_evals(capture):
1313

1414
assert m.test_eval_failure()
1515

16-
@pytest.unsupported_on_pypy
16+
17+
@pytest.unsupported_on_pypy3
1718
def test_eval_file():
1819
filename = os.path.join(os.path.dirname(__file__), "test_eval_call.py")
1920
assert m.test_eval_file(filename)

0 commit comments

Comments
 (0)