dev-python/pytest: Enable pypy3
authorMichał Górny <mgorny@gentoo.org>
Wed, 30 Nov 2016 17:27:00 +0000 (18:27 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 30 Nov 2016 18:05:41 +0000 (19:05 +0100)
The tests are no worse than on other implementations.

dev-python/pytest/pytest-3.0.3.ebuild

index bb11033afe9123a3264aedb40f0f117884a7f06c..d154d2ef94032f2522919b7ce2321ce153069fa2 100644 (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