mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Fix pybench so it works -- Larry Hastings.
This commit is contained in:
parent
16be03e4a2
commit
5b787e8bc2
4 changed files with 41 additions and 39 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue