mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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:
@@ -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+=(
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user