summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/Setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pybench/Setup.py')
-rw-r--r--Tools/pybench/Setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/pybench/Setup.py b/Tools/pybench/Setup.py
index f5c5190..f1417e6 100644
--- a/Tools/pybench/Setup.py
+++ b/Tools/pybench/Setup.py
@@ -14,7 +14,7 @@
# Defaults
Number_of_rounds = 10
-Warp_factor = 20
+Warp_factor = 10
# Import tests
from Arithmetic import *
@@ -24,8 +24,8 @@ from Lookups import *
from Instances import *
try:
from NewInstances import *
-except:
- print "Cannot test new-style objects"
+except ImportError:
+ pass
from Lists import *
from Tuples import *
from Dict import *