summaryrefslogtreecommitdiff
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-21 12:44:57 +0200
committerGitHub <noreply@github.com>2019-05-21 12:44:57 +0200
commitd12e75734d46ecde588c5de65e6d64146911d20c (patch)
treef2faae7d94731b96d70d2a5cb703b3744faffa0c /Lib/test/test_threading.py
parent925af1d99b69bf3e229411022ad840c5a0cfdcf8 (diff)
downloadcpython-git-d12e75734d46ecde588c5de65e6d64146911d20c.tar.gz
Revert "bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)" (GH-13458)
This reverts commit 4959c33d2555b89b494c678d99be81a65ee864b0.
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r--Lib/test/test_threading.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 6ac6e9de7a..2ddc77b266 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -104,10 +104,6 @@ class ThreadTests(BaseTestCase):
self.assertRegex(repr(t), r'^<TestThread\(.*, initial\)>$')
t.start()
- native_ids = set(t.native_id for t in threads) | {threading.get_native_id()}
- self.assertNotIn(None, native_ids)
- self.assertEqual(len(native_ids), NUMTASKS + 1)
-
if verbose:
print('waiting for all tasks to complete')
for t in threads: