diff --git a/test/asynchronous/test_client_backpressure.py b/test/asynchronous/test_client_backpressure.py index 94f22ac41c..3d5e7bce3f 100644 --- a/test/asynchronous/test_client_backpressure.py +++ b/test/asynchronous/test_client_backpressure.py @@ -356,7 +356,7 @@ async def test_05_overload_errors_with_basebackoffms_override_backoff(self, rand # and the baseBackoffMS=50 backoffs are 0.1 + 0.2 = 0.3s. # Allow for slight timing slack on Windows + <= Python 3.12 due to asyncio timing resolution - if sys.platform == "win32" and not _IS_SYNC and sys.version_info <= (3, 12): + if sys.platform == "win32" and not _IS_SYNC and sys.version_info < (3, 13): exponential_expected = 0.55 base_backoff_expected = 0.25 else: diff --git a/test/test_client_backpressure.py b/test/test_client_backpressure.py index 11fbbd92e6..67e5115e71 100644 --- a/test/test_client_backpressure.py +++ b/test/test_client_backpressure.py @@ -354,7 +354,7 @@ def test_05_overload_errors_with_basebackoffms_override_backoff(self, random_fun # and the baseBackoffMS=50 backoffs are 0.1 + 0.2 = 0.3s. # Allow for slight timing slack on Windows + <= Python 3.12 due to asyncio timing resolution - if sys.platform == "win32" and not _IS_SYNC and sys.version_info <= (3, 12): + if sys.platform == "win32" and not _IS_SYNC and sys.version_info < (3, 13): exponential_expected = 0.55 base_backoff_expected = 0.25 else: