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 pitrou
Recipients pitrou, sbt, schwab, vstinner
Date 2014-03-15.10:27:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394879265.2.0.961312612403.issue20934@psf.upfronthosting.co.za>
In-reply-to
Content
When relying on the timeout feature of various system APIs (e.g. waiting on a semaphore), there isn't much of an alternative to actually waiting a certain amount of time, and measuring the resulting delay. Other tests in the stdlib do this, which is indeed fragile, but better than not testing at all.

See Victor's recent issue20910, "Make sleep configurable in tests".
History
Date User Action Args
2014-03-15 10:27:45pitrousetrecipients: + pitrou, vstinner, sbt, schwab
2014-03-15 10:27:45pitrousetmessageid: <1394879265.2.0.961312612403.issue20934@psf.upfronthosting.co.za>
2014-03-15 10:27:45pitroulinkissue20934 messages
2014-03-15 10:27:44pitroucreate