<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_subprocess.py, branch v2.4b2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_subprocess.py?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_subprocess.py?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-21T19:28:34Z</updated>
<entry>
<title>Removed test_close_fds, because it's too unreliable. We simply cannot</title>
<updated>2004-10-21T19:28:34Z</updated>
<author>
<name>Peter Astrand</name>
<email>astrand@lysator.liu.se</email>
</author>
<published>2004-10-21T19:28:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c19ccc9f1137bceb830a635a199b0798cc6d3932'/>
<id>urn:sha1:c19ccc9f1137bceb830a635a199b0798cc6d3932</id>
<content type='text'>
know that the newly-started Python process only has 3 filedescriptors
open. Fixes bug 1048808.
</content>
</entry>
<entry>
<title>remove_stderr_debug_decorations():  Always try the substitution.  Else</title>
<updated>2004-10-14T04:16:54Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-14T04:16:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1dbf2434d57566f831122b781d90c67536552548'/>
<id>urn:sha1:1dbf2434d57566f831122b781d90c67536552548</id>
<content type='text'>
this test failed under the combination of passing -O to a debug-build
Python.  Now all 4 of those pass ({debug, release} x {-O, no -O}).
</content>
</entry>
<entry>
<title>Don't spend quite as much time looking for leaks on Windows, where</title>
<updated>2004-10-13T07:54:54Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2004-10-13T07:54:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e29fc584c28111a8727d9c02082c53aae8c4121'/>
<id>urn:sha1:9e29fc584c28111a8727d9c02082c53aae8c4121</id>
<content type='text'>
it's rather expensive to create new processes.
</content>
</entry>
<entry>
<title>normalize case when comparing directory names (problem reported by</title>
<updated>2004-10-13T06:55:40Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2004-10-13T06:55:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59c05595546ff317f6ffa317b3232b5f6f54c9e2'/>
<id>urn:sha1:59c05595546ff317f6ffa317b3232b5f6f54c9e2</id>
<content type='text'>
"Khalid A. B." on python-dev)
</content>
</entry>
<entry>
<title>New helper remove_stderr_debug_decorations().  This test passes in a</title>
<updated>2004-10-13T04:07:12Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-13T04:07:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3761e8dd6600d1f93c9ba8a013aa5ba51ed6640b'/>
<id>urn:sha1:3761e8dd6600d1f93c9ba8a013aa5ba51ed6640b</id>
<content type='text'>
debug build on Windows now.  More applications of the helper may be needed
on non-Windows platforms.
</content>
</entry>
<entry>
<title>Kill several problems at once:  test_poll() failed sometimes for me.</title>
<updated>2004-10-13T03:43:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-13T03:43:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29b6b4f7c75121a69e260753e1b8befaee3b06df'/>
<id>urn:sha1:29b6b4f7c75121a69e260753e1b8befaee3b06df</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>test_stdout_none():  Don't print "banana" to the screen in the middle</title>
<updated>2004-10-13T03:29:54Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-13T03:29:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4052fe5a9bb5de0e142f138c00a263d2fe44f552'/>
<id>urn:sha1:4052fe5a9bb5de0e142f138c00a263d2fe44f552</id>
<content type='text'>
of the test.  It's testing stdout in a different process, so it has to
print something, but I didn't find "banana" to be self-explanatory.
</content>
</entry>
<entry>
<title>Windows test_creationflags() test:  print msg to stderr informing the</title>
<updated>2004-10-13T03:21:35Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-13T03:21:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=876c43245ea0a42090636222c02ccf359e4f5aa8'/>
<id>urn:sha1:876c43245ea0a42090636222c02ccf359e4f5aa8</id>
<content type='text'>
tester that a DOS box is expected to flash.  Slash the sleep from 2
seconds to a quarter second (why would we want to wait 2 seconds just
to stare at a DOS box?).
</content>
</entry>
<entry>
<title>XXX about extreme expense of test_no_leaking() on Windows.  I'm not sure</title>
<updated>2004-10-13T03:14:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-13T03:14:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f73cc9714fdd4e845fd3072ad76a56439c689656'/>
<id>urn:sha1:f73cc9714fdd4e845fd3072ad76a56439c689656</id>
<content type='text'>
what this is trying to do.  If it's necessary for it to create &gt; 1000
processes, it should be controlled by a new resource and not run by
default on Windows.
</content>
</entry>
<entry>
<title>Experience with Zope2's tests showed it's a Bad Idea to make unittest</title>
<updated>2004-10-12T22:29:54Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-12T22:29:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7b759da1b8d1ce870ff77c34250f983a73f75b32'/>
<id>urn:sha1:7b759da1b8d1ce870ff77c34250f983a73f75b32</id>
<content type='text'>
display a test's docstring as "the name" of the test.  So changed most
test docstrings to comments, and removed the clearly useless ones.  Now
unittest reports the actual names of the test methods.
</content>
</entry>
</feed>
