mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
Raise statement normalization in Lib/test/.
This commit is contained in:
parent
e0281cab81
commit
3add4d78ff
47 changed files with 218 additions and 218 deletions
|
|
@ -24,7 +24,7 @@ try:
|
|||
except error:
|
||||
pass
|
||||
else:
|
||||
raise TestFailed, "expected gdbm.error accessing closed database"
|
||||
raise TestFailed("expected gdbm.error accessing closed database")
|
||||
g = gdbm.open(filename, 'r')
|
||||
g.close()
|
||||
g = gdbm.open(filename, 'w')
|
||||
|
|
@ -37,7 +37,7 @@ try:
|
|||
except error:
|
||||
pass
|
||||
else:
|
||||
raise TestFailed, "expected gdbm.error when passing invalid open flags"
|
||||
raise TestFailed("expected gdbm.error when passing invalid open flags")
|
||||
|
||||
try:
|
||||
import os
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue