summaryrefslogtreecommitdiff
path: root/Lib/test/test_multiprocessing.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-18 18:01:43 +0000
committerBenjamin Peterson <benjamin@python.org>2008-08-18 18:01:43 +0000
commita9b2222de40ed62e6ec1c79f6a89607913f4babd (patch)
treea0555b78f80a1f5027ee3d198bac6326273be834 /Lib/test/test_multiprocessing.py
parentcbae8697599b690effd91be411fe4891ff8b52ad (diff)
downloadcpython-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.py4
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