Issue 5009: multiprocessing: failure in manager._debug_info()

This commit is contained in:
Jesse Noller 2009-01-21 02:08:17 +00:00
parent e741cc607c
commit 7314b38168
2 changed files with 5 additions and 3 deletions

View file

@ -1057,8 +1057,10 @@ class _TestZZZNumberOfObjects(BaseTestCase):
multiprocessing.active_children() # discard dead process objs
gc.collect() # do garbage collection
refs = self.manager._number_of_objects()
debug_info = self.manager._debug_info()
if refs != EXPECTED_NUMBER:
print self.manager._debug_info()
print debug_info
self.assertEqual(refs, EXPECTED_NUMBER)