summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2018-07-24 23:20:58 +0200
committerLouis Sautier <sbraz@gentoo.org>2018-07-24 23:22:53 +0200
commit9742454d06d7021cc4a3291b8e0f191e0573b85c (patch)
tree80f5765308f4c1ec78ead894f30ca249ae708377 /dev-python/jaraco-classes
parentapp-crypt/xca: add dev-qt/linguist-tools:5 DEPEND (diff)
downloadgentoo-9742454d06d7021cc4a3291b8e0f191e0573b85c.tar.gz
gentoo-9742454d06d7021cc4a3291b8e0f191e0573b85c.tar.bz2
gentoo-9742454d06d7021cc4a3291b8e0f191e0573b85c.zip
dev-python/jaraco-classes: add Python 3.7, run tests from BUILD_DIR
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'dev-python/jaraco-classes')
-rw-r--r--dev-python/jaraco-classes/jaraco-classes-1.5.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/jaraco-classes/jaraco-classes-1.5.ebuild b/dev-python/jaraco-classes/jaraco-classes-1.5.ebuild
index d91842e9e0c0..ecf62cfb39b9 100644
--- a/dev-python/jaraco-classes/jaraco-classes-1.5.ebuild
+++ b/dev-python/jaraco-classes/jaraco-classes-1.5.ebuild
@@ -4,7 +4,7 @@
EAPI=7
# Tests fail with pypy
-PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6}} )
+PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6,7}} )
inherit distutils-r1
@@ -47,8 +47,8 @@ python_compile_all() {
}
python_test() {
- # Override pytest options to skip flake8
- PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \
+ # Avoid ImportMismatchError, override pytest options to skip flake8
+ pytest -vv "${BUILD_DIR}"/lib --override-ini="addopts=--doctest-modules" \
|| die "tests failed with ${EPYTHON}"
}