From 3461ab081c93b028e6b13ef47b3242407c355f2f Mon Sep 17 00:00:00 2001 From: burris Date: Fri, 13 Sep 2002 02:22:37 +0000 Subject: [PATCH] fix 2.1 incompatibility --- hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.py b/hash.py index 8fa3e8e..90343e0 100644 --- a/hash.py +++ b/hash.py @@ -56,7 +56,7 @@ class NewID(unittest.TestCase): class Intify(unittest.TestCase): known = [('\0' * 20, 0), - ('\xff' * 20, 2**160 - 1), + ('\xff' * 20, 2L**160 - 1), ] def testKnown(self): for str, value in self.known: -- 2.39.5