From 47df28ac531acb82097b4a86a935639055650ad8 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 3 Sep 2019 14:34:34 +0200 Subject: dev-python/rply: Update coding style wrt tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/rply/rply-0.7.6.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dev-python/rply') diff --git a/dev-python/rply/rply-0.7.6.ebuild b/dev-python/rply/rply-0.7.6.ebuild index 1b9f7c7c55b7..3499bd15290c 100644 --- a/dev-python/rply/rply-0.7.6.ebuild +++ b/dev-python/rply/rply-0.7.6.ebuild @@ -15,6 +15,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" +RESTRICT="!test? ( test )" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] dev-python/appdirs[${PYTHON_USEDEP}] @@ -31,5 +32,5 @@ python_prepare() { } python_test() { - py.test || die "Tests fail with ${EPYTHON}" + pytest -vv || die "Tests fail with ${EPYTHON}" } -- cgit v1.2.3-65-gdbad