dev-python/pytest: Enable pypy3

The tests are no worse than on other implementations.
This commit is contained in:
Michał Górny
2016-11-30 18:27:00 +01:00
parent 1abbfd2cf1
commit b8e92c33ba

View File

@@ -4,7 +4,7 @@
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} )
inherit distutils-r1
@@ -53,7 +53,7 @@ python_prepare_all() {
python_test() {
# test_nose.py not written to suit py3.2 in pypy3
if [[ "${EPYTHON}" == pypy3 ]]; then
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -vv \
--ignore=testing/BUILD_nose.py \
|| die "tests failed with ${EPYTHON}"
else