[Python-checkins] python/dist/src/Lib/test/output test_subprocess, 1.1, NONE

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Wed Oct 13 05:43:42 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19774/Lib/test/output

Removed Files:
	test_subprocess 
Log Message:
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.


--- test_subprocess DELETED ---



More information about the Python-checkins mailing list