diff --git a/dev-python/cmd2/cmd2-0.10.1.ebuild b/dev-python/cmd2/cmd2-0.10.1.ebuild index c6dd48a3be498..e4ce45c0ea6bd 100644 --- a/dev-python/cmd2/cmd2-0.10.1.ebuild +++ b/dev-python/cmd2/cmd2-0.10.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 virtualx diff --git a/dev-python/cmd2/cmd2-1.0.2.ebuild b/dev-python/cmd2/cmd2-1.0.2.ebuild index 52af0aec44258..0a10ae6eda419 100644 --- a/dev-python/cmd2/cmd2-1.0.2.ebuild +++ b/dev-python/cmd2/cmd2-1.0.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 virtualx @@ -38,3 +38,8 @@ src_test() { local -x COLUMNS=80 virtx distutils-r1_src_test } + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +}