Back to index

python3.2  3.2.2
Classes | Functions
test.test_enumerate Namespace Reference

Classes

class  G
class  I
class  Ig
class  X
class  E
class  N
class  EnumerateTestCase
class  MyEnum
class  SubclassTestCase
class  TestEmpty
class  TestBig
class  TestReversed
class  EnumerateStartTestCase
class  TestStart
class  TestLongStart

Functions

def test_main

Class Documentation

class test::test_enumerate::MyEnum

Definition at line 113 of file test_enumerate.py.


Function Documentation

def test.test_enumerate.test_main (   verbose = None)

Definition at line 237 of file test_enumerate.py.

00237 
00238 def test_main(verbose=None):
00239     support.run_unittest(__name__)
00240 
00241     # verify reference counting
00242     if verbose and hasattr(sys, "gettotalrefcount"):
00243         counts = [None] * 5
00244         for i in range(len(counts)):
00245             support.run_unittest(__name__)
00246             counts[i] = sys.gettotalrefcount()
00247         print(counts)