dev-python/ipython: Fix asyncio-related test failures

Closes: https://bugs.gentoo.org/928411
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-04-16 16:47:57 +02:00
parent f5f0792522
commit 7e815626d7

View File

@@ -51,6 +51,7 @@ BDEPEND="
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
dev-python/pickleshare[${PYTHON_USEDEP}]
<dev-python/pytest-8[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/testpath[${PYTHON_USEDEP}]
)
@@ -136,7 +137,8 @@ python_test() {
# nonfatal implied by virtx
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
nonfatal epytest || die "Tests failed with ${EPYTHON}"
nonfatal epytest -p asyncio --asyncio-mode=auto ||
die "Tests failed on ${EPYTHON}"
}
python_install() {