From: Ilya Tumaykin Date: Fri, 19 Feb 2016 19:58:28 +0000 (+0300) Subject: dev-python/mccabe: use py.test to run tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44195e0a9a9930fc2ceddccbba0e013a17e84042;p=gentoo.git dev-python/mccabe: use py.test to run tests This way testsuite actually works on Python < 3.5 because pytest decorators are respected properly. Package-Manager: portage-2.2.27 --- diff --git a/dev-python/mccabe/mccabe-0.4.0.ebuild b/dev-python/mccabe/mccabe-0.4.0.ebuild index 22838d6764d2..f3b8516aac99 100644 --- 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}" }