summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-03-30 21:53:29 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-03-30 21:53:29 (GMT)
commit019ce773cd25ee08d1a822f06958774b43881d00 (patch)
tree877caf67c58dcafa4c4083f803aaffc068af2b01 /Lib
parent5e95e763e1ba51b9bd4153aa016099e183b05434 (diff)
downloadcpython-019ce773cd25ee08d1a822f06958774b43881d00.zip
cpython-019ce773cd25ee08d1a822f06958774b43881d00.tar.gz
cpython-019ce773cd25ee08d1a822f06958774b43881d00.tar.bz2
finalize the queue prior to shutdown
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_multiprocessing.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 76bd3ed..4388fe0 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -1208,10 +1208,12 @@ class _TestManagerRestart(BaseTestCase):
p.start()
queue = manager.get_queue()
self.assertEqual(queue.get(), 'hello world')
+ del queue
manager.shutdown()
manager = QueueManager(
address=('localhost', 9999), authkey=authkey, serializer=SERIALIZER)
manager.start()
+ manager.shutdown()
#
#