diff options
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r-- | Lib/test/test_class.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index 1fc9971..43c1d3b 100644 --- a/Lib/test/test_class.py +++ b/Lib/test/test_class.py @@ -71,7 +71,7 @@ class AllTests: def __hash__(self, *args): print "__hash__:", args - return id(self) + return hash(id(self)) def __str__(self, *args): print "__str__:", args |