From 019ce773cd25ee08d1a822f06958774b43881d00 Mon Sep 17 00:00:00 2001 From: Jesse Noller Date: Mon, 30 Mar 2009 21:53:29 +0000 Subject: [PATCH] finalize the queue prior to shutdown --- Lib/test/test_multiprocessing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 76bd3ed0132..4388fe05234 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() # #