1 |
commit: 47df28ac531acb82097b4a86a935639055650ad8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 3 12:34:34 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 3 12:40:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47df28ac |
7 |
|
8 |
dev-python/rply: Update coding style wrt tests |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/rply/rply-0.7.6.ebuild | 3 ++- |
13 |
1 file changed, 2 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-python/rply/rply-0.7.6.ebuild b/dev-python/rply/rply-0.7.6.ebuild |
16 |
index 1b9f7c7c55b..3499bd15290 100644 |
17 |
--- a/dev-python/rply/rply-0.7.6.ebuild |
18 |
+++ b/dev-python/rply/rply-0.7.6.ebuild |
19 |
@@ -15,6 +15,7 @@ LICENSE="BSD" |
20 |
SLOT="0" |
21 |
KEYWORDS="~amd64 ~x86" |
22 |
IUSE="test" |
23 |
+RESTRICT="!test? ( test )" |
24 |
|
25 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
26 |
dev-python/appdirs[${PYTHON_USEDEP}] |
27 |
@@ -31,5 +32,5 @@ python_prepare() { |
28 |
} |
29 |
|
30 |
python_test() { |
31 |
- py.test || die "Tests fail with ${EPYTHON}" |
32 |
+ pytest -vv || die "Tests fail with ${EPYTHON}" |
33 |
} |