Don't raise a string exception, they don't work anymore.

This commit is contained in:
Neal Norwitz 2007-10-14 18:30:21 +00:00
parent 880605aafd
commit 3884690d69

View file

@ -111,7 +111,7 @@ class TableDBTestCase(unittest.TestCase):
else : else :
if verbose: if verbose:
print "values= %r" % (values,) print "values= %r" % (values,)
raise "Wrong values returned!" raise RuntimeError("Wrong values returned!")
def test03(self): def test03(self):
tabname = "test03" tabname = "test03"