patch up multiprocessing until it's API can be changed too
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 63e34c6..c3b1c82 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -619,11 +619,17 @@
woken = self.Semaphore(0)
p = self.Process(target=self.f, args=(cond, sleeping, woken))
- p.set_daemon(True)
+ try:
+ p.set_daemon(True)
+ except AttributeError:
+ p.daemon = True
p.start()
p = threading.Thread(target=self.f, args=(cond, sleeping, woken))
- p.set_daemon(True)
+ try:
+ p.set_daemon(True)
+ except AttributeError:
+ p.daemon = True
p.start()
# wait for both children to start sleeping