Skip to content

Commit bab4b04

Browse files
authored
gh-124873: Tolerate 100 ms in TimerfdTests on Android (#127101)
On Android, TimerfdTests of test_os now uses 100 ms accuracy instead of 10 ms.
1 parent 3c2bd66 commit bab4b04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Lib/test/test_os.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4177,9 +4177,9 @@ def test_eventfd_select(self):
41774177
@support.requires_linux_version(2, 6, 30)
41784178
class TimerfdTests(unittest.TestCase):
41794179
# 1 ms accuracy is reliably achievable on every platform except Android
4180-
# emulators, where we allow 10 ms (gh-108277).
4180+
# emulators, where we allow 100 ms (gh-124873).
41814181
if sys.platform == "android" and platform.android_ver().is_emulator:
4182-
CLOCK_RES_PLACES = 2
4182+
CLOCK_RES_PLACES = 1
41834183
else:
41844184
CLOCK_RES_PLACES = 3
41854185

0 commit comments

Comments
 (0)