You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-01-26.22:03:12.025>created_at=<Date2009-01-26.20:20:17.309>labels= ['tests']
title='bsddb/test/test_lock.py sometimes fails due to floating point error'updated_at=<Date2010-03-15.14:13:18.327>user='https://bugs.python.org/ocean-city'
time.time() returns floating point, so sometimes folloing assertion in
LockingTestCase#test03_lock_timeout fails due to floating point
calculation error.
self.assertTrue((end_time-start_time) >= 0.1
end_time-start_time becomes 0.0999999046326 for instance. I ran
test_lock.py 100 times after applied the attached patch, I saw no error.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: