Remove extra GC debug info
This isn't necessary at the moment and can get really verbose.
Change-Id: Ic7c7c73989b4936591f7ed2d3e3635c383bfd9fe
diff --git a/tests/base.py b/tests/base.py
index 2b6147a..f5bb1cb 100755
--- a/tests/base.py
+++ b/tests/base.py
@@ -2222,19 +2222,12 @@
# Make sure no jobs are running
self.assertEqual({}, self.executor_server.job_workers)
# Make sure that git.Repo objects have been garbage collected.
- repos = []
gc.disable()
gc.collect()
for obj in gc.get_objects():
if isinstance(obj, git.Repo):
self.log.debug("Leaked git repo object: 0x%x %s" %
(id(obj), repr(obj)))
- for ref in gc.get_referrers(obj):
- self.log.debug(" Referrer %s" % (repr(ref)))
- repos.append(obj)
- if repos:
- for obj in gc.garbage:
- self.log.debug(" Garbage %s" % (repr(obj)))
gc.enable()
self.assertEmptyQueues()
self.assertNodepoolState()