summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/Exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pybench/Exceptions.py')
-rw-r--r--Tools/pybench/Exceptions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/pybench/Exceptions.py b/Tools/pybench/Exceptions.py
index eff69c7..ab0fa0a 100644
--- a/Tools/pybench/Exceptions.py
+++ b/Tools/pybench/Exceptions.py
@@ -20,15 +20,15 @@ class TryRaiseExcept(Test):
except:
pass
try:
- raise error,"something"
+ raise error("something")
except:
pass
try:
- raise error,"something"
+ raise error("something")
except:
pass
try:
- raise error,"something"
+ raise error("something")
except:
pass
try: