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
This commit is contained in:
Ilya Tumaykin
2016-02-19 22:58:28 +03:00
parent 51afce0c30
commit 44195e0a9a

View File

@@ -29,5 +29,5 @@ src_prepare() {
}
python_test() {
${EPYTHON} test_mccabe.py || die
py.test -v || die "Testing failed with ${EPYTHON}"
}