From: Neal Norwitz Date: Sun, 14 Oct 2007 18:30:21 +0000 (+0000) Subject: Don't raise a string exception, they don't work anymore. X-Git-Tag: v2.6a1~1186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3884690d69291b627b317e0f7d8d0b009df5a564;p=thirdparty%2FPython%2Fcpython.git Don't raise a string exception, they don't work anymore. --- diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py index 67005430b62a..1debb894aaed 100644 --- a/Lib/bsddb/test/test_dbtables.py +++ b/Lib/bsddb/test/test_dbtables.py @@ -111,7 +111,7 @@ class TableDBTestCase(unittest.TestCase): else : if verbose: print "values= %r" % (values,) - raise "Wrong values returned!" + raise RuntimeError("Wrong values returned!") def test03(self): tabname = "test03"