projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51afce0
)
dev-python/mccabe: use py.test to run tests
author
Ilya Tumaykin
<itumaykin@gmail.com>
Fri, 19 Feb 2016 19:58:28 +0000
(22:58 +0300)
committer
Ilya Tumaykin
<itumaykin@gmail.com>
Fri, 19 Feb 2016 20:21:45 +0000
(23:21 +0300)
This way testsuite actually works on Python < 3.5
because pytest decorators are respected properly.
Package-Manager: portage-2.2.27
dev-python/mccabe/mccabe-0.4.0.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/mccabe/mccabe-0.4.0.ebuild
b/dev-python/mccabe/mccabe-0.4.0.ebuild
index 22838d6764d299b3d53203093555eb05292794f4..f3b8516aac991615db659f54088de5dc20453287 100644
(file)
--- a/
dev-python/mccabe/mccabe-0.4.0.ebuild
+++ b/
dev-python/mccabe/mccabe-0.4.0.ebuild
@@
-29,5
+29,5
@@
src_prepare() {
}
python_test() {
- ${EPYTHON} test_mccabe.py || die
+ py.test -v || die "Testing failed with ${EPYTHON}"
}