summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-06 11:53:17 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-08 08:52:31 +0100
commit18c4fc06670c03dc4aa899c6750716713b36f52e (patch)
treedc7cba5672e08df85213b61619ce3e376d455fb2
parentpython-utils-r1.eclass: Introduce epytest helper (diff)
downloadgentoo-18c4fc06670c03dc4aa899c6750716713b36f52e.tar.gz
gentoo-18c4fc06670c03dc4aa899c6750716713b36f52e.tar.bz2
gentoo-18c4fc06670c03dc4aa899c6750716713b36f52e.zip
distutils-r1.eclass: Use epytest
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/distutils-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index ca2ed98c8e8c..f5b151d4b8e2 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -435,11 +435,11 @@ distutils_enable_tests() {
if [[ ${do_install} ]]; then
python_test() {
distutils_install_for_testing --via-root
- pytest -vv || die "Tests fail with ${EPYTHON}"
+ epytest
}
else
python_test() {
- pytest -vv || die "Tests fail with ${EPYTHON}"
+ epytest
}
fi
;;