Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
unittest.test.support.TestEquality Class Reference
Inheritance diagram for unittest.test.support.TestEquality:
Inheritance graph
[legend]
Collaboration diagram for unittest.test.support.TestEquality:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_eq
def test_ne

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Used as a mixin for TestCase

Definition at line 4 of file support.py.


Member Function Documentation

Definition at line 8 of file support.py.

00008 
00009     def test_eq(self):
00010         for obj_1, obj_2 in self.eq_pairs:
00011             self.assertEqual(obj_1, obj_2)
00012             self.assertEqual(obj_2, obj_1)

Here is the call graph for this function:

Definition at line 14 of file support.py.

00014 
00015     def test_ne(self):
00016         for obj_1, obj_2 in self.ne_pairs:
00017             self.assertNotEqual(obj_1, obj_2)
00018             self.assertNotEqual(obj_2, obj_1)

Here is the call graph for this function:


Member Data Documentation

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


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