File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313import locale
1414import os
1515import pickle
16- import platform
1716import select
1817import selectors
1918import shutil
@@ -4291,13 +4290,8 @@ def test_eventfd_select(self):
42914290@unittest .skipIf (sys .platform == "android" , "gh-124873: Test is flaky on Android" )
42924291@support .requires_linux_version (2 , 6 , 30 )
42934292class TimerfdTests (unittest .TestCase ):
4294- # 1 ms accuracy is reliably achievable on every platform except Android
4295- # emulators, where we allow 10 ms (gh-108277).
4296- if sys .platform == "android" and platform .android_ver ().is_emulator :
4297- CLOCK_RES_PLACES = 2
4298- else :
4299- CLOCK_RES_PLACES = 3
4300-
4293+ # gh-126112: Use 10 ms to tolerate slow buildbots
4294+ CLOCK_RES_PLACES = 2 # 10 ms
43014295 CLOCK_RES = 10 ** - CLOCK_RES_PLACES
43024296 CLOCK_RES_NS = 10 ** (9 - CLOCK_RES_PLACES )
43034297
You can’t perform that action at this time.
0 commit comments