]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixed to the point that all unit tests pass again. (However, I get 4
authorGuido van Rossum <guido@python.org>
Mon, 21 Aug 2006 00:21:47 +0000 (00:21 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 21 Aug 2006 00:21:47 +0000 (00:21 +0000)
commit2043513bd584a08cc7d748562bd8011b989b3659
treea2f33ad9469d3aa1bfb32fa6e003f7e24dc6af7e
parentf1a69c16665c6c031c4723e5bc3e6d6f4118fa5e
Fixed to the point that all unit tests pass again.  (However, I get 4
"exception in thread" messages, one about a killed locker, and three
assertions.)  Details:

test/test_dbshelve.py:
- kill reference to InstanceType

test/test_basics.py:
- use // for int division
- use 'in' instead of has_key

dbshelve.py:
- fix bug in previous has_key fix, use self.db.has_key instead of self.has_key

dbtables.py:
- use 'in' instead of has_key

dbutils.py:
- fix bug in previous has_key fix, test for 'max_retries', not 'max_tries'
Lib/bsddb/dbshelve.py
Lib/bsddb/dbtables.py
Lib/bsddb/dbutils.py
Lib/bsddb/test/test_basics.py
Lib/bsddb/test/test_dbshelve.py