diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-18 18:01:43 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-18 18:01:43 +0000 |
commit | a9b2222de40ed62e6ec1c79f6a89607913f4babd (patch) | |
tree | a0555b78f80a1f5027ee3d198bac6326273be834 /Lib/test/test_multiprocessing.py | |
parent | cbae8697599b690effd91be411fe4891ff8b52ad (diff) | |
download | cpython-git-a9b2222de40ed62e6ec1c79f6a89607913f4babd.tar.gz |
change a few uses of the threading APIs
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 95570c2592..63e34c6f7d 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -670,7 +670,7 @@ class _TestCondition(BaseTestCase): t = threading.Thread(target=self.f, args=(cond, sleeping, woken, TIMEOUT1)) - t.set_daemon(True) + t.daemon = True t.start() # wait for them all to sleep @@ -692,7 +692,7 @@ class _TestCondition(BaseTestCase): p.start() t = threading.Thread(target=self.f, args=(cond, sleeping, woken)) - t.set_daemon(True) + t.daemon = True t.start() # wait for them to all sleep |