Back to index

python3.2  3.2.2
Functions | Variables
test.test_listcomps Namespace Reference

Functions

def test_main

Variables

string doctests
dictionary __test__ = {'doctests' : doctests}

Function Documentation

def test.test_listcomps.test_main (   verbose = None)

Definition at line 131 of file test_listcomps.py.

00131 
00132 def test_main(verbose=None):
00133     import sys
00134     from test import support
00135     from test import test_listcomps
00136     support.run_doctest(test_listcomps, verbose)
00137 
00138     # verify reference counting
00139     if verbose and hasattr(sys, "gettotalrefcount"):
00140         import gc
00141         counts = [None] * 5
00142         for i in range(len(counts)):
00143             support.run_doctest(test_genexps, verbose)
00144             gc.collect()
00145             counts[i] = sys.gettotalrefcount()
00146         print(counts)


Variable Documentation

Definition at line 129 of file test_listcomps.py.

Definition at line 1 of file test_listcomps.py.