summaryrefslogtreecommitdiffstats
path: root/Lib/test/time_hashlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/time_hashlib.py')
-rw-r--r--Lib/test/time_hashlib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/time_hashlib.py b/Lib/test/time_hashlib.py
index c210bd2..5b96d0e 100644
--- a/Lib/test/time_hashlib.py
+++ b/Lib/test/time_hashlib.py
@@ -14,7 +14,7 @@ def test_scaled_msg(scale, name):
localCF = creatorFunc
start = time.time()
- for f in xrange(iterations):
+ for f in range(iterations):
x = localCF(longStr).digest()
end = time.time()
@@ -22,7 +22,7 @@ def test_scaled_msg(scale, name):
def test_create():
start = time.time()
- for f in xrange(20000):
+ for f in range(20000):
d = creatorFunc()
end = time.time()
@@ -30,7 +30,7 @@ def test_create():
def test_zero():
start = time.time()
- for f in xrange(20000):
+ for f in range(20000):
x = creatorFunc().digest()
end = time.time()