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 vstinner
Recipients Arfrever, lemburg, neologix, python-dev, vstinner
Date 2012-04-29.17:57:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335722230.9.0.961693630469.issue14428@psf.upfronthosting.co.za>
In-reply-to
Content
"The test is a bit too optimistic: a thread is looping for 0.2s, and the test checks that the process time (user + system) increased of at least 0.1s. If the thread is preempted, there's a high chance you won't get even as low as 0.1s."

Hum, the problem is maybe that the thread is preempted, but the first problem is that the test considers that time.process_time() uses seconds.

I rewrote the test to make it more reliable.
History
Date User Action Args
2012-04-29 17:57:10vstinnersetrecipients: + vstinner, lemburg, Arfrever, neologix, python-dev
2012-04-29 17:57:10vstinnersetmessageid: <1335722230.9.0.961693630469.issue14428@psf.upfronthosting.co.za>
2012-04-29 17:57:10vstinnerlinkissue14428 messages
2012-04-29 17:57:10vstinnercreate