From ffed3ece72bcad0c1d9354ab04e18331afcc2757 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 9 Apr 2019 12:46:42 +0200 Subject: [PATCH] dev-python/authres: Simplify test phase MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/authres/authres-1.1.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/authres/authres-1.1.1.ebuild b/dev-python/authres/authres-1.1.1.ebuild index 0823667ce457..9beb27ee9cfe 100644 --- a/dev-python/authres/authres-1.1.1.ebuild +++ b/dev-python/authres/authres-1.1.1.ebuild @@ -16,6 +16,6 @@ SLOT="0" IUSE="" python_test() { - "${PYTHON}" -c "import sys, authres, doctest; f, t = doctest.testfile('authres/tests'); \ - sys.exit(bool(f))" || die "Tests fail with ${EPYTHON}" + "${EPYTHON}" -m doctest -v authres/tests || + die "Tests fail with ${EPYTHON}" } -- 2.26.2