dev-python/tenacity: Deselect a fragile test

Closes: https://bugs.gentoo.org/935501
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-07-05 21:01:40 +02:00
parent 6eeebbb641
commit 45f67db1ec
2 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ BDEPEND="
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# fragile to timing
tests/test_asyncio.py::TestContextManager::test_sleeps
)
local EPYTEST_IGNORE=()
if ! has_version ">=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=(

View File

@@ -29,6 +29,11 @@ BDEPEND="
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# fragile to timing
tests/test_asyncio.py::TestContextManager::test_sleeps
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}