dev-python/twisted: Run tests in virtx to avoid crashing

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-04-24 10:18:57 +02:00
parent 2e85bfd4c8
commit f646e1f747
+5 -1
View File
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
inherit distutils-r1 virtualx
TWISTED_PN="Twisted"
TWISTED_P="${TWISTED_PN}-${PV}"
@@ -98,6 +98,10 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
src_test() {
virtx distutils-r1_src_test
}
python_test() {
distutils_install_for_testing