This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients ocean-city
Date 2009-01-26.20:20:16
SpamBayes Score 0.00010066
Marked as misclassified No
Message-id <1233001217.88.0.560168543661.issue5073@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-01-26 20:20:18ocean-citysetrecipients: + ocean-city
2009-01-26 20:20:17ocean-citysetmessageid: <1233001217.88.0.560168543661.issue5073@psf.upfronthosting.co.za>
2009-01-26 20:20:17ocean-citylinkissue5073 messages
2009-01-26 20:20:17ocean-citycreate