File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 13
13
import locale
14
14
import os
15
15
import pickle
16
- import platform
17
16
import select
18
17
import selectors
19
18
import shutil
@@ -4291,13 +4290,8 @@ def test_eventfd_select(self):
4291
4290
@unittest .skipIf (sys .platform == "android" , "gh-124873: Test is flaky on Android" )
4292
4291
@support .requires_linux_version (2 , 6 , 30 )
4293
4292
class 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
4301
4295
CLOCK_RES = 10 ** - CLOCK_RES_PLACES
4302
4296
CLOCK_RES_NS = 10 ** (9 - CLOCK_RES_PLACES )
4303
4297
You can’t perform that action at this time.
0 commit comments