commit: e56fe73e14a05236624ec13d310cb326cd077cde
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 12:02:36 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 00:23:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e56fe73e
dev-python/ipython: Run a single Xvfb
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/ipython/ipython-8.0.1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-python/ipython/ipython-8.0.1.ebuild
b/dev-python/ipython/ipython-8.0.1.ebuild
index a1b847bc2132..3354470b2300 100644
--- a/dev-python/ipython/ipython-8.0.1.ebuild
+++ b/dev-python/ipython/ipython-8.0.1.ebuild
@@ -99,6 +99,10 @@ python_compile_all() {
fi
}
+src_test() {
+ virtx distutils-r1_src_test
+}
+
python_test() {
local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
local EPYTEST_DESELECT=(
@@ -113,7 +117,7 @@ python_test() {
IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
)
- virtx epytest
+ epytest || die "Tests failed with ${EPYTHON}"
}
python_install() {