diff options
author | Jesse Noller <jnoller@gmail.com> | 2009-03-30 21:53:29 (GMT) |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2009-03-30 21:53:29 (GMT) |
commit | 019ce773cd25ee08d1a822f06958774b43881d00 (patch) | |
tree | 877caf67c58dcafa4c4083f803aaffc068af2b01 /Lib | |
parent | 5e95e763e1ba51b9bd4153aa016099e183b05434 (diff) | |
download | cpython-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.py | 2 |
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() # # |