summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2008-09-03 22:07:11 (GMT)
committerJesus Cea <jcea@jcea.es>2008-09-03 22:07:11 (GMT)
commit69acb43327be1ee4dd19c4df3dc67668ebaa2d66 (patch)
tree038f6eb5a3fa6343853ec290954a9f7764abb211 /Lib
parentcde6dc9a861ec2895af9ab9ce9f62bcb1dc24540 (diff)
downloadcpython-69acb43327be1ee4dd19c4df3dc67668ebaa2d66.zip
cpython-69acb43327be1ee4dd19c4df3dc67668ebaa2d66.tar.gz
cpython-69acb43327be1ee4dd19c4df3dc67668ebaa2d66.tar.bz2
Python3.0 bsddb testsuite compatibility improvements
Diffstat (limited to 'Lib')
-rw-r--r--Lib/bsddb/test/test_all.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py
index 75a2322..a8b32ef 100644
--- a/Lib/bsddb/test/test_all.py
+++ b/Lib/bsddb/test/test_all.py
@@ -67,6 +67,10 @@ if sys.version_info[0] >= 3 :
v = self._dbcursor.next_dup()
return self._fix(v)
+ def next_nodup(self) :
+ v = self._dbcursor.next_nodup()
+ return self._fix(v)
+
def put(self, key, value, flags=0, dlen=-1, doff=-1) :
if isinstance(key, str) :
key = bytes(key, charset)