Raise statement normalization in Lib/test/.

This commit is contained in:
Collin Winter 2007-08-29 23:37:32 +00:00
parent e0281cab81
commit 3add4d78ff
47 changed files with 218 additions and 218 deletions

View file

@ -17,7 +17,7 @@ class seq(base_set):
def check(ok, *args):
if not ok:
raise TestFailed, " ".join(map(str, args))
raise TestFailed(" ".join(map(str, args)))
a = base_set(1)
b = set(1)
@ -95,7 +95,7 @@ class Deviant2:
def __cmp__(self, other):
if other == 4:
raise RuntimeError, "gotcha"
raise RuntimeError("gotcha")
try:
check(Deviant2() not in a, "oops")