diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-10-13 03:43:40 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-10-13 03:43:40 (GMT) |
commit | 29b6b4f7c75121a69e260753e1b8befaee3b06df (patch) | |
tree | 04a2b62533aa512927c1248ae77ba573ad37606a /Lib/test/output | |
parent | 4052fe5a9bb5de0e142f138c00a263d2fe44f552 (diff) | |
download | cpython-29b6b4f7c75121a69e260753e1b8befaee3b06df.zip cpython-29b6b4f7c75121a69e260753e1b8befaee3b06df.tar.gz cpython-29b6b4f7c75121a69e260753e1b8befaee3b06df.tar.bz2 |
Kill several problems at once: test_poll() failed sometimes for me.
Turns out the mysterious "expected output" file contained exactly N dots,
because test_poll() has a loop that *usually* went around N times,
printing one dot on each loop trip. But there's no guarantee of that,
because the exact value of N depended on the vagaries of scheduling
time.sleep()s across two different processes. So stopped printing dots,
and got rid of the expected output file. Add a loop counter instead,
and verify that the loop goes around at least a couple of times. Also
cut the minimum time needed for this test from 4 seconds to 1.
Diffstat (limited to 'Lib/test/output')
-rw-r--r-- | Lib/test/output/test_subprocess | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/output/test_subprocess b/Lib/test/output/test_subprocess deleted file mode 100644 index effbcf0..0000000 --- a/Lib/test/output/test_subprocess +++ /dev/null @@ -1,2 +0,0 @@ -test_subprocess -.........
\ No newline at end of file |