mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
merge r68839 forward to py3k
This commit is contained in:
parent
08838b6acf
commit
63b3a97a2a
2 changed files with 5 additions and 3 deletions
|
@ -1058,8 +1058,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