Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mccabe/
Date: Sat, 20 Feb 2016 02:30:12
Message-Id: 1455913305.44195e0a9a9930fc2ceddccbba0e013a17e84042.idella4@gentoo
1 commit: 44195e0a9a9930fc2ceddccbba0e013a17e84042
2 Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 19 19:58:28 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 19 20:21:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44195e0a
7
8 dev-python/mccabe: use py.test to run tests
9
10 This way testsuite actually works on Python < 3.5
11 because pytest decorators are respected properly.
12
13 Package-Manager: portage-2.2.27
14
15 dev-python/mccabe/mccabe-0.4.0.ebuild | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/dev-python/mccabe/mccabe-0.4.0.ebuild b/dev-python/mccabe/mccabe-0.4.0.ebuild
19 index 22838d6..f3b8516 100644
20 --- a/dev-python/mccabe/mccabe-0.4.0.ebuild
21 +++ b/dev-python/mccabe/mccabe-0.4.0.ebuild
22 @@ -29,5 +29,5 @@ src_prepare() {
23 }
24
25 python_test() {
26 - ${EPYTHON} test_mccabe.py || die
27 + py.test -v || die "Testing failed with ${EPYTHON}"
28 }