Skip to content

Commit c09366b

Browse files
[3.13] gh-124873: Tolerate 100 ms in TimerfdTests on Android (GH-127101) (#127105)
gh-124873: Tolerate 100 ms in TimerfdTests on Android (GH-127101) On Android, TimerfdTests of test_os now uses 100 ms accuracy instead of 10 ms. (cherry picked from commit bab4b04) Co-authored-by: Victor Stinner <[email protected]>
1 parent 48eb5c9 commit c09366b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_os.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4127,9 +4127,9 @@ def test_eventfd_select(self):
41274127
@support.requires_linux_version(2, 6, 30)
41284128
class TimerfdTests(unittest.TestCase):
41294129
# 1 ms accuracy is reliably achievable on every platform except Android
4130-
# emulators, where we allow 10 ms (gh-108277).
4130+
# emulators, where we allow 100 ms (gh-124873).
41314131
if sys.platform == "android" and platform.android_ver().is_emulator:
4132-
CLOCK_RES_PLACES = 2
4132+
CLOCK_RES_PLACES = 1
41334133
else:
41344134
CLOCK_RES_PLACES = 3
41354135

0 commit comments

Comments
 (0)