summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_compare.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-22 21:45:20 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-22 21:45:20 (GMT)
commita65e94c1bf30259e0367d136054328c107ff41da (patch)
tree3e52a58cdad9ac85144590d72641e2f065d7382e /Lib/bsddb/test/test_compare.py
parent865ea892018f4ff823496b2d0636c47c7ef06231 (diff)
downloadcpython-a65e94c1bf30259e0367d136054328c107ff41da.zip
cpython-a65e94c1bf30259e0367d136054328c107ff41da.tar.gz
cpython-a65e94c1bf30259e0367d136054328c107ff41da.tar.bz2
Convert raise statements in bsddb.
Diffstat (limited to 'Lib/bsddb/test/test_compare.py')
-rw-r--r--Lib/bsddb/test/test_compare.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_compare.py b/Lib/bsddb/test/test_compare.py
index 522ff57..886c20d 100644
--- a/Lib/bsddb/test/test_compare.py
+++ b/Lib/bsddb/test/test_compare.py
@@ -192,7 +192,7 @@ class BtreeExceptionsTestCase (AbstractBtreeKeyCompareTestCase):
if l == r:
# pass the set_bt_compare test
return 0
- raise RuntimeError, "i'm a naughty comparison function"
+ raise RuntimeError("i'm a naughty comparison function")
self.createDB (bad_comparator)
#print "\n*** test should print 2 uncatchable tracebacks ***"
self.addDataToDB (['a', 'b', 'c']) # this should raise, but...