Back to index

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

Functions

def test_main

Variables

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

Function Documentation

def test.test_dictcomps.test_main (   verbose = None)

Definition at line 37 of file test_dictcomps.py.

00037 
00038 def test_main(verbose=None):
00039     import sys
00040     from test import support
00041     from test import test_dictcomps
00042     support.run_doctest(test_dictcomps, verbose)
00043 
00044     # verify reference counting
00045     if verbose and hasattr(sys, "gettotalrefcount"):
00046         import gc
00047         counts = [None] * 5
00048         for i in range(len(counts)):
00049             support.run_doctest(test_dictcomps, verbose)
00050             gc.collect()
00051             counts[i] = sys.gettotalrefcount()
00052         print(counts)


Variable Documentation

Definition at line 35 of file test_dictcomps.py.

Definition at line 2 of file test_dictcomps.py.