mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-python/jaraco-classes: add Python 3.7, run tests from BUILD_DIR
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user