diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-21 12:44:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 12:44:57 +0200 |
commit | d12e75734d46ecde588c5de65e6d64146911d20c (patch) | |
tree | f2faae7d94731b96d70d2a5cb703b3744faffa0c /Lib/test/test_threading.py | |
parent | 925af1d99b69bf3e229411022ad840c5a0cfdcf8 (diff) | |
download | cpython-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.py | 4 |
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: |