From: burris Date: Fri, 13 Sep 2002 02:22:37 +0000 (+0000) Subject: fix 2.1 incompatibility X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3461ab081c93b028e6b13ef47b3242407c355f2f;p=quix0rs-apt-p2p.git fix 2.1 incompatibility --- 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: