Back to index

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

Functions

def test_main

Variables

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

Function Documentation

def test.test_genexps.test_main (   verbose = None)

Definition at line 263 of file test_genexps.py.

00263 
00264 def test_main(verbose=None):
00265     import sys
00266     from test import support
00267     from test import test_genexps
00268     support.run_doctest(test_genexps, verbose)
00269 
00270     # verify reference counting
00271     if verbose and hasattr(sys, "gettotalrefcount"):
00272         import gc
00273         counts = [None] * 5
00274         for i in range(len(counts)):
00275             support.run_doctest(test_genexps, verbose)
00276             gc.collect()
00277             counts[i] = sys.gettotalrefcount()
00278         print(counts)


Variable Documentation

Definition at line 261 of file test_genexps.py.

Definition at line 1 of file test_genexps.py.