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

Appearance settings

Commit 44f9ec5

Browse filesBrowse files
noamcohen97miss-islington
authored andcommitted
gh-132542: Only run test_native_id_after_fork if native_id is supported (GH-134408)
(cherry picked from commit e6dde10) Co-authored-by: Noam Cohen <noam@noam.me>
1 parent 7ada439 commit 44f9ec5
Copy full SHA for 44f9ec5

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎Lib/test/test_threading.py

Copy file name to clipboardExpand all lines: Lib/test/test_threading.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,7 @@ def f():
12091209

12101210

12111211
@skip_unless_reliable_fork
1212+
@unittest.skipUnless(hasattr(threading, 'get_native_id'), "test needs threading.get_native_id()")
12121213
def test_native_id_after_fork(self):
12131214
script = """if True:
12141215
import threading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.