diff options
author | Koki Saito <49419225+saito828koki@users.noreply.github.com> | 2022-10-03 00:37:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 00:37:36 (GMT) |
commit | 14d4f68ebb495fe7ccbaf283386d861a054d8288 (patch) | |
tree | ea580bf0251690e85120e8bf21e39c6b5ecdb8e7 | |
parent | 9151bbefea3fb932eb6aa6ddb22d64b83f8149c7 (diff) | |
download | cpython-14d4f68ebb495fe7ccbaf283386d861a054d8288.zip cpython-14d4f68ebb495fe7ccbaf283386d861a054d8288.tar.gz cpython-14d4f68ebb495fe7ccbaf283386d861a054d8288.tar.bz2 |
gh-97706: multiprocessing tests: Delete unused variable `rand` (#97707)
-rw-r--r-- | Lib/test/_test_multiprocessing.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index b78586c..a35e527 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -5289,13 +5289,12 @@ class TestResourceTracker(unittest.TestCase): # Check that killing process does not leak named semaphores # cmd = '''if 1: - import time, os, tempfile + import time, os import multiprocessing as mp from multiprocessing import resource_tracker from multiprocessing.shared_memory import SharedMemory mp.set_start_method("spawn") - rand = tempfile._RandomNameSequence() def create_and_register_resource(rtype): |