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

Commite6dde10

Browse files
authored
gh-132542: Only run test_native_id_after_fork if native_id is supported (GH-134408)
1 parentc740fe3 commite6dde10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Lib/test/test_threading.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,7 @@ def do_flush(*args, **kwargs):
13531353
assert_python_ok("-c",script)
13541354

13551355
@skip_unless_reliable_fork
1356+
@unittest.skipUnless(hasattr(threading,'get_native_id'),"test needs threading.get_native_id()")
13561357
deftest_native_id_after_fork(self):
13571358
script="""if True:
13581359
import threading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp