diff options
author | Guido van Rossum <guido@python.org> | 2007-01-13 23:54:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-01-13 23:54:39 (GMT) |
commit | 5b787e8bc2dbda5583eee039cb6a6e47c8d8a034 (patch) | |
tree | bbb5ad7df427ee6ab5032c68dabdac2fcd6d38ee /Tools/pybench/Exceptions.py | |
parent | 16be03e4a206c24b00dc1d2d3c740dffbbfc4ac9 (diff) | |
download | cpython-5b787e8bc2dbda5583eee039cb6a6e47c8d8a034.zip cpython-5b787e8bc2dbda5583eee039cb6a6e47c8d8a034.tar.gz cpython-5b787e8bc2dbda5583eee039cb6a6e47c8d8a034.tar.bz2 |
Fix pybench so it works -- Larry Hastings.
Diffstat (limited to 'Tools/pybench/Exceptions.py')
-rw-r--r-- | Tools/pybench/Exceptions.py | 6 |
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: |