Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_collections Namespace Reference

Classes

class  TestChainMap
class  TestNamedTuple
class  ABCTestCase
class  TestOneTrickPonyABCs
class  WithSet
class  TestCollectionABCs
class  TestCounter
class  TestOrderedDict
class  GeneralMappingTests
class  MyOrderedDict
class  SubclassMappingTests

Functions

def test_main

Variables

 ChainMap = _ChainMap
 _ChainMap (helper class for configparser)
tuple TestNT = namedtuple('TestNT', 'x y z')

Detailed Description

Unit tests for collections.py.

Function Documentation

def test.test_collections.test_main (   verbose = None)

Definition at line 1198 of file test_collections.py.

01198 
01199 def test_main(verbose=None):
01200     NamedTupleDocs = doctest.DocTestSuite(module=collections)
01201     test_classes = [TestNamedTuple, NamedTupleDocs, TestOneTrickPonyABCs,
01202                     TestCollectionABCs, TestCounter, TestChainMap,
01203                     TestOrderedDict, GeneralMappingTests, SubclassMappingTests]
01204     support.run_unittest(*test_classes)
01205     support.run_doctest(collections, verbose)
01206 

Here is the call graph for this function:


Variable Documentation

_ChainMap (helper class for configparser)

Definition at line 26 of file test_collections.py.

tuple test.test_collections.TestNT = namedtuple('TestNT', 'x y z')

Definition at line 120 of file test_collections.py.