diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index 1fc99717316..43c1d3b5181 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