Message159635
"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. |
|
Date |
User |
Action |
Args |
2012-04-29 17:57:10 | vstinner | set | recipients:
+ vstinner, lemburg, Arfrever, neologix, python-dev |
2012-04-29 17:57:10 | vstinner | set | messageid: <1335722230.9.0.961693630469.issue14428@psf.upfronthosting.co.za> |
2012-04-29 17:57:10 | vstinner | link | issue14428 messages |
2012-04-29 17:57:10 | vstinner | create | |
|