From 45f67db1ec35bb72db516e25879dacff65086d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 5 Jul 2024 21:01:40 +0200 Subject: [PATCH] dev-python/tenacity: Deselect a fragile test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/935501 Signed-off-by: Michał Górny --- dev-python/tenacity/tenacity-8.4.2.ebuild | 4 ++++ dev-python/tenacity/tenacity-8.5.0.ebuild | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/dev-python/tenacity/tenacity-8.4.2.ebuild b/dev-python/tenacity/tenacity-8.4.2.ebuild index 1c59135e8307f..70c9e50d6e595 100644 --- a/dev-python/tenacity/tenacity-8.4.2.ebuild +++ b/dev-python/tenacity/tenacity-8.4.2.ebuild @@ -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+=( diff --git a/dev-python/tenacity/tenacity-8.5.0.ebuild b/dev-python/tenacity/tenacity-8.5.0.ebuild index 8c5543d52ef53..4a9349493e905 100644 --- a/dev-python/tenacity/tenacity-8.5.0.ebuild +++ b/dev-python/tenacity/tenacity-8.5.0.ebuild @@ -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 }