Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
test.test_hash.HashBuiltinsTestCase Class Reference

List of all members.

Public Member Functions

def test_hashes

Static Public Attributes

list hashes_to_check

Detailed Description

Definition at line 109 of file test_hash.py.


Member Function Documentation

Definition at line 116 of file test_hash.py.

00116 
00117     def test_hashes(self):
00118         _default_hash = object.__hash__
00119         for obj in self.hashes_to_check:
00120             self.assertEqual(hash(obj), _default_hash(obj))

Here is the call graph for this function:


Member Data Documentation

Initial value:
[range(10),
                       enumerate(range(10)),
                       iter(DefaultIterSeq()),
                       iter(lambda: 0, 0),
                      ]

Definition at line 110 of file test_hash.py.


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