mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
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:
parent
19960597ad
commit
e4ef3a6e6c
2 changed files with 19 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue