From eab1ea18597e504e575bbc590a94602f3e3bab2c Mon Sep 17 00:00:00 2001 From: burris Date: Fri, 13 Sep 2002 02:26:02 +0000 Subject: [PATCH] fixed 2.1 incompatibility --- hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.py b/hash.py index 90343e0..5f70c9b 100644 --- a/hash.py +++ b/hash.py @@ -73,7 +73,7 @@ class Intify(unittest.TestCase): class Disantance(unittest.TestCase): known = [ - (("\0" * 20, "\xff" * 20), 2**160 -1), + (("\0" * 20, "\xff" * 20), 2**160L -1), ((sha("foo").digest(), sha("foo").digest()), 0), ((sha("bar").digest(), sha("bar").digest()), 0) ] -- 2.39.5