Fix the bsddb3 unit tests.

This essentially meant fixing one case where a list of custom objects
was being sorted, and fixing one genuine bug where a method call was
missing parentheses.
This commit is contained in:
Guido van Rossum 2006-08-24 18:19:44 +00:00
parent 19960597ad
commit e4ef3a6e6c
2 changed files with 19 additions and 7 deletions

View file

@ -697,7 +697,7 @@ class BasicTransactionTestCase(BasicTestCase):
for log in logs:
if verbose:
print 'log file: ' + log
if db.version >= (4,2):
if db.version() >= (4,2):
logs = self.env.log_archive(db.DB_ARCH_REMOVE)
assert not logs