mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Issue 5009: multiprocessing: failure in manager._debug_info()
This commit is contained in:
parent
e741cc607c
commit
7314b38168
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue