There is no TestError, use TestFailed appropriately

This commit is contained in:
Neal Norwitz 2002-04-01 18:59:20 +00:00
parent 8392f36579
commit b1295da59e
3 changed files with 10 additions and 10 deletions

View file

@ -785,7 +785,7 @@ def metaclass():
c = C()
try: c()
except TypeError: pass
else: raise TestError, "calling object w/o call method should raise TypeError"
else: raise TestFailed, "calling object w/o call method should raise TypeError"
def pymods():
if verbose: print "Testing Python subclass of module..."