Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_argparse.TestTypeUserDefined.MyType Class Reference
Inheritance diagram for test.test_argparse.TestTypeUserDefined.MyType:
Inheritance graph
Collaboration diagram for test.test_argparse.TestTypeUserDefined.MyType:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __eq__
def assertEqual
def setUp

Public Attributes


Detailed Description

Definition at line 1558 of file

Constructor & Destructor Documentation

Definition at line 1560 of file

01561         def __init__(self, value):
01562             self.value = value

Here is the caller graph for this function:

Member Function Documentation

Definition at line 1563 of file

01564         def __eq__(self, other):
01565             return (type(self), self.value) == (type(other), other.value)
    argument_signatures = [
def test.test_argparse.TestCase.assertEqual (   self,
) [inherited]

Definition at line 22 of file

00023     def assertEqual(self, obj1, obj2):
00024         if obj1 != obj2:
00025             print('')
00026             print(repr(obj1))
00027             print(repr(obj2))
00028             print(obj1)
00029             print(obj2)
00030         super(TestCase, self).assertEqual(obj1, obj2)

def test.test_argparse.TestCase.setUp (   self) [inherited]

Reimplemented in test.test_argparse.TestParentParsers, and test.test_argparse.TestAddSubparsers.

Definition at line 31 of file

00032     def setUp(self):
00033         # The tests assume that line wrapping occurs at 80 columns, but this
00034         # behaviour can be overridden by setting the COLUMNS environment
00035         # variable.  To ensure that this assumption is true, unset COLUMNS.
00036         env = support.EnvironmentVarGuard()
00037         env.unset("COLUMNS")
00038         self.addCleanup(env.__exit__)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Definition at line 1561 of file

The documentation for this class was generated from the following file: