summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2008-09-02 02:30:21 (GMT)
committerJesus Cea <jcea@jcea.es>2008-09-02 02:30:21 (GMT)
commit3a2bd7d5c5c4af6e7916823d107e524c7f5aaa5a (patch)
tree793a7bb68ae1bf4707665bc59ca948b39f76be11 /Lib/bsddb/test
parent3e4f055602496a7388058b4d5020b27d9ac7bd4b (diff)
downloadcpython-3a2bd7d5c5c4af6e7916823d107e524c7f5aaa5a.zip
cpython-3a2bd7d5c5c4af6e7916823d107e524c7f5aaa5a.tar.gz
cpython-3a2bd7d5c5c4af6e7916823d107e524c7f5aaa5a.tar.bz2
Improve compatibility with Python3.0 testsuite
Diffstat (limited to 'Lib/bsddb/test')
-rw-r--r--Lib/bsddb/test/test_all.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py
index d49c429..9a4d3ee 100644
--- a/Lib/bsddb/test/test_all.py
+++ b/Lib/bsddb/test/test_all.py
@@ -33,6 +33,8 @@ if sys.version_info[0] >= 3 :
v = getattr(self._dbcursor, "next")()
return self._fix(v)
+ next = __next__
+
def previous(self) :
v = self._dbcursor.previous()
return self._fix(v)