[Python-checkins] r58459 - python/trunk/Lib/bsddb/test/test_dbtables.py
neal.norwitz
python-checkins at python.org
Sun Oct 14 20:30:21 CEST 2007
Author: neal.norwitz
Date: Sun Oct 14 20:30:21 2007
New Revision: 58459
Modified:
python/trunk/Lib/bsddb/test/test_dbtables.py
Log:
Don't raise a string exception, they don't work anymore.
Modified: python/trunk/Lib/bsddb/test/test_dbtables.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_dbtables.py (original)
+++ python/trunk/Lib/bsddb/test/test_dbtables.py Sun Oct 14 20:30:21 2007
@@ -111,7 +111,7 @@
else :
if verbose:
print "values= %r" % (values,)
- raise "Wrong values returned!"
+ raise RuntimeError("Wrong values returned!")
def test03(self):
tabname = "test03"
More information about the Python-checkins
mailing list