From 7af36089f4b358ae613d0d6f3500692edf0fd9ca Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 21 Nov 2024 13:53:59 +0100 Subject: [PATCH] gh-124873: Tolerate 100 ms in TimerfdTests on Android On Android, TimerfdTests of test_os now uses 100 ms accuracy instead of 10 ms. --- Lib/test/test_os.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 467da78f9e1779..99515dfc71f9ba 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -4177,9 +4177,9 @@ def test_eventfd_select(self): @support.requires_linux_version(2, 6, 30) class TimerfdTests(unittest.TestCase): # 1 ms accuracy is reliably achievable on every platform except Android - # emulators, where we allow 10 ms (gh-108277). + # emulators, where we allow 100 ms (gh-124873). if sys.platform == "android" and platform.android_ver().is_emulator: - CLOCK_RES_PLACES = 2 + CLOCK_RES_PLACES = 1 else: CLOCK_RES_PLACES = 3