summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-10-14 18:30:21 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-10-14 18:30:21 (GMT)
commit3884690d69291b627b317e0f7d8d0b009df5a564 (patch)
tree84613cfa7dac66bb5fe07edd65f151833a9ed224 /Lib/bsddb
parent880605aafdb60977c0d441c2472a3ee1dbfbd2d3 (diff)
downloadcpython-3884690d69291b627b317e0f7d8d0b009df5a564.zip
cpython-3884690d69291b627b317e0f7d8d0b009df5a564.tar.gz
cpython-3884690d69291b627b317e0f7d8d0b009df5a564.tar.bz2
Don't raise a string exception, they don't work anymore.
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/test/test_dbtables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py
index 6700543..1debb89 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"