diff options
Diffstat (limited to 'Tools/pybench/Empty.py')
-rwxr-xr-x | Tools/pybench/Empty.py | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Tools/pybench/Empty.py b/Tools/pybench/Empty.py index 63c566387c..9cb34ac3b0 100755 --- a/Tools/pybench/Empty.py +++ b/Tools/pybench/Empty.py @@ -1,22 +1,22 @@ -from pybench import Test
-
-class EmptyTest(Test):
- """This is just here as a potential measure of repeatability."""
-
- version = 0.3
- operations = 1
- rounds = 60000
-
- def test(self):
-
- l = []
- for i in xrange(self.rounds):
- pass
-
-
- def calibrate(self):
-
- l = []
-
- for i in xrange(self.rounds):
- pass
+from pybench import Test + +class EmptyTest(Test): + """This is just here as a potential measure of repeatability.""" + + version = 0.3 + operations = 1 + rounds = 60000 + + def test(self): + + l = [] + for i in xrange(self.rounds): + pass + + + def calibrate(self): + + l = [] + + for i in xrange(self.rounds): + pass |