Message80589
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. |
|
Date |
User |
Action |
Args |
2009-01-26 20:20:18 | ocean-city | set | recipients:
+ ocean-city |
2009-01-26 20:20:17 | ocean-city | set | messageid: <1233001217.88.0.560168543661.issue5073@psf.upfronthosting.co.za> |
2009-01-26 20:20:17 | ocean-city | link | issue5073 messages |
2009-01-26 20:20:17 | ocean-city | create | |
|