diff options
author | Jesus Cea <jcea@jcea.es> | 2008-09-02 02:29:06 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2008-09-02 02:29:06 (GMT) |
commit | 3b6be74304b528112a2a4baebc17eaccca15f049 (patch) | |
tree | 63262408783037c4257c2e00afa8272f09a28714 /Lib/bsddb/test | |
parent | 2dd647b8fc97e03d4e4d9088090d8b8bc42862fe (diff) | |
download | cpython-3b6be74304b528112a2a4baebc17eaccca15f049.zip cpython-3b6be74304b528112a2a4baebc17eaccca15f049.tar.gz cpython-3b6be74304b528112a2a4baebc17eaccca15f049.tar.bz2 |
Improve compatibility with Python3.0 testsuite
Diffstat (limited to 'Lib/bsddb/test')
-rw-r--r-- | Lib/bsddb/test/test_all.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py index 75f5dc0..75a2322 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) |