diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-03 14:34:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-03 14:40:51 +0200 |
commit | 47df28ac531acb82097b4a86a935639055650ad8 (patch) | |
tree | 92fa806f399dd2d93c8c2e8cb8594e0a1f169e6b /dev-python/rply | |
parent | dev-python/rply: Fix python_prepare() correctly (diff) | |
download | gentoo-47df28ac531acb82097b4a86a935639055650ad8.tar.gz gentoo-47df28ac531acb82097b4a86a935639055650ad8.tar.bz2 gentoo-47df28ac531acb82097b4a86a935639055650ad8.zip |
dev-python/rply: Update coding style wrt tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rply')
-rw-r--r-- | dev-python/rply/rply-0.7.6.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
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}" } |