diff options
Diffstat (limited to 'Tools/pybench/Arithmetic.py')
-rw-r--r-- | Tools/pybench/Arithmetic.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Tools/pybench/Arithmetic.py b/Tools/pybench/Arithmetic.py index 6923b4b..6ef2f20 100644 --- a/Tools/pybench/Arithmetic.py +++ b/Tools/pybench/Arithmetic.py @@ -8,7 +8,7 @@ class SimpleIntegerArithmetic(Test): def test(self): - for i in xrange(self.rounds): + for i in range(self.rounds): a = 2 b = 3 @@ -152,7 +152,7 @@ class SimpleIntegerArithmetic(Test): def calibrate(self): - for i in xrange(self.rounds): + for i in range(self.rounds): pass class SimpleFloatArithmetic(Test): @@ -163,7 +163,7 @@ class SimpleFloatArithmetic(Test): def test(self): - for i in xrange(self.rounds): + for i in range(self.rounds): a = 2.1 b = 3.3332 @@ -307,7 +307,7 @@ class SimpleFloatArithmetic(Test): def calibrate(self): - for i in xrange(self.rounds): + for i in range(self.rounds): pass class SimpleIntFloatArithmetic(Test): @@ -318,7 +318,7 @@ class SimpleIntFloatArithmetic(Test): def test(self): - for i in xrange(self.rounds): + for i in range(self.rounds): a = 2 b = 3 @@ -462,7 +462,7 @@ class SimpleIntFloatArithmetic(Test): def calibrate(self): - for i in xrange(self.rounds): + for i in range(self.rounds): pass @@ -474,7 +474,7 @@ class SimpleLongArithmetic(Test): def test(self): - for i in xrange(self.rounds): + for i in range(self.rounds): a = 2220001L b = 100001L @@ -618,7 +618,7 @@ class SimpleLongArithmetic(Test): def calibrate(self): - for i in xrange(self.rounds): + for i in range(self.rounds): pass class SimpleComplexArithmetic(Test): @@ -629,7 +629,7 @@ class SimpleComplexArithmetic(Test): def test(self): - for i in xrange(self.rounds): + for i in range(self.rounds): a = 2 + 3j b = 2.5 + 4.5j @@ -773,5 +773,5 @@ class SimpleComplexArithmetic(Test): def calibrate(self): - for i in xrange(self.rounds): + for i in range(self.rounds): pass |