Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/3] distutils-r1.eclass: Use epytest
Date: Sat, 06 Mar 2021 11:01:45
Message-Id: 20210306110110.384691-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] python-utils-r1.eclass: Introduce epytest helper by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/distutils-r1.eclass | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
7 index ca2ed98c8e8c..f5b151d4b8e2 100644
8 --- a/eclass/distutils-r1.eclass
9 +++ b/eclass/distutils-r1.eclass
10 @@ -435,11 +435,11 @@ distutils_enable_tests() {
11 if [[ ${do_install} ]]; then
12 python_test() {
13 distutils_install_for_testing --via-root
14 - pytest -vv || die "Tests fail with ${EPYTHON}"
15 + epytest
16 }
17 else
18 python_test() {
19 - pytest -vv || die "Tests fail with ${EPYTHON}"
20 + epytest
21 }
22 fi
23 ;;
24 --
25 2.30.1