From: Jesse Noller Date: Mon, 30 Mar 2009 21:53:29 +0000 (+0000) Subject: finalize the queue prior to shutdown X-Git-Tag: v2.7a1~1733 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=019ce773cd25ee08d1a822f06958774b43881d00;p=python finalize the queue prior to shutdown --- diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 76bd3ed013..4388fe0523 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() # #