We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343719d commit aaac3f4Copy full SHA for aaac3f4
Lib/test/test_os.py
@@ -4291,13 +4291,8 @@ def test_eventfd_select(self):
4291
@unittest.skipIf(sys.platform == "android", "gh-124873: Test is flaky on Android")
4292
@support.requires_linux_version(2, 6, 30)
4293
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
-
+ # gh-126112: Use 10 ms to tolerate slow buildbots
+ CLOCK_RES_PLACES = 2 # 10 ms
4301
CLOCK_RES = 10 ** -CLOCK_RES_PLACES
4302
CLOCK_RES_NS = 10 ** (9 - CLOCK_RES_PLACES)
4303
0 commit comments