commit:     45f67db1ec35bb72db516e25879dacff65086d70
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  5 19:01:40 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 19:02:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f67db1

dev-python/tenacity: Deselect a fragile test

Closes: https://bugs.gentoo.org/935501
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 1c59135e8307..70c9e50d6e59 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 8c5543d52ef5..4a9349493e90 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
 }

Reply via email to