Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/authres/
Date: Tue, 09 Apr 2019 10:51:06
Message-Id: 1554807051.ffed3ece72bcad0c1d9354ab04e18331afcc2757.mgorny@gentoo
1 commit: ffed3ece72bcad0c1d9354ab04e18331afcc2757
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 9 10:46:42 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 9 10:50:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffed3ece
7
8 dev-python/authres: Simplify test phase
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/authres/authres-1.1.1.ebuild | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-python/authres/authres-1.1.1.ebuild b/dev-python/authres/authres-1.1.1.ebuild
16 index 0823667ce45..9beb27ee9cf 100644
17 --- a/dev-python/authres/authres-1.1.1.ebuild
18 +++ b/dev-python/authres/authres-1.1.1.ebuild
19 @@ -16,6 +16,6 @@ SLOT="0"
20 IUSE=""
21
22 python_test() {
23 - "${PYTHON}" -c "import sys, authres, doctest; f, t = doctest.testfile('authres/tests'); \
24 - sys.exit(bool(f))" || die "Tests fail with ${EPYTHON}"
25 + "${EPYTHON}" -m doctest -v authres/tests ||
26 + die "Tests fail with ${EPYTHON}"
27 }