From: Jesse Noller Date: Mon, 30 Mar 2009 21:57:36 +0000 (+0000) Subject: finalize the queue to resolve test issue X-Git-Tag: v2.6.2c1~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5ac4447bae5a1cb03b8b4ac6cd1d061de03493c;p=thirdparty%2FPython%2Fcpython.git finalize the queue to resolve test issue --- diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index aa4743f1274f..d2503f619cf3 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1207,10 +1207,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() # #