Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def __init__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 104 of file

Constructor & Destructor Documentation

def (   self,
  callable_obj = None,
  expected_regex = None 

Definition at line 107 of file

00108                   expected_regex=None):
00109         self.expected = expected
00110         self.failureException = test_case.failureException
00111         if callable_obj is not None:
00112             try:
00113                 self.obj_name = callable_obj.__name__
00114             except AttributeError:
00115                 self.obj_name = str(callable_obj)
00116         else:
00117             self.obj_name = None
00118         if isinstance(expected_regex, (bytes, str)):
00119             expected_regex = re.compile(expected_regex)
00120         self.expected_regex = expected_regex

Here is the caller graph for this function:

Member Data Documentation

Definition at line 108 of file

Definition at line 119 of file

Definition at line 109 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 112 of file

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