Signed-off-by: Michał Górny <mgorny@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
python_test() {
testr init
- testr run || die "testsuite failed under python2.7"
+ testr run || die "testsuite failed under ${EPYTHON}"
flake8 tests && einfo "run flake8 over tests folder passed" || die
}
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
python_test() {
testr init
- testr run || die "testsuite failed under python2.7"
+ testr run || die "testsuite failed under ${EPYTHON}"
flake8 tests && einfo "run flake8 over tests folder passed" || die
}