Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc09366b

Browse files
[3.13]pythongh-124873: Tolerate 100 ms in TimerfdTests on Android (pythonGH-127101) (python#127105)
pythongh-124873: Tolerate 100 ms in TimerfdTests on Android (pythonGH-127101)On Android, TimerfdTests of test_os now uses 100 ms accuracy insteadof 10 ms.(cherry picked from commitbab4b04)Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent48eb5c9 commitc09366b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Lib/test/test_os.py‎

Lines changed: 2 additions & 2 deletions
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
classTimerfdTests(unittest.TestCase):
41294129
# 1 ms accuracy is reliably achievable on every platform except Android
4130-
# emulators, where we allow10 ms (gh-108277).
4130+
# emulators, where we allow100 ms (gh-124873).
41314131
ifsys.platform=="android"andplatform.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)

[8]ページ先頭

©2009-2025 Movatter.jp