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 maltehelmert
Recipients belopolsky, gvanrossum, maltehelmert
Date 2008-02-23.16:26:14
SpamBayes Score 0.0054266476
Marked as misclassified No
Message-id <1203783975.25.0.113268201004.issue1040026@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that adds a test case to test_posix.py. This is ignored
on Windows, as it requires fork.

There is a trade-off: If WAIT_TIME isn't large enough, small
irregularities in the process scheduler might cause this to fail. If it
is too large, the unit tests will take long for everyone.

Currently, WAIT_TIME is 0.1 seconds and the tolerance in the assertion
is about 5%, which works well for me. Not sure how this behaves on very
busy machines.
History
Date User Action Args
2008-02-23 16:26:15maltehelmertsetspambayes_score: 0.00542665 -> 0.0054266476
recipients: + maltehelmert, gvanrossum, belopolsky
2008-02-23 16:26:15maltehelmertsetspambayes_score: 0.00542665 -> 0.00542665
messageid: <1203783975.25.0.113268201004.issue1040026@psf.upfronthosting.co.za>
2008-02-23 16:26:14maltehelmertlinkissue1040026 messages
2008-02-23 16:26:14maltehelmertcreate