def test_main(verbose=None): test_support.run_unittest(ListTest) # verify reference counting import sys if verbose: import gc counts = [None] * 5 for i in range(len(counts)): test_support.run_unittest(ListTest) gc.set_debug(gc.DEBUG_STATS) gc.collect() #counts[i] = sys.gettotalrefcount() print(counts)
def test_main(verbose=None): test_support.run_unittest(*tests)