Staging
v0.5.1
https://github.com/python/cpython
Revision e7d7caa17a3f63732ded961629704283a5508662 authored by Tim Peters on 19 June 2006, 09:09:44 UTC, committed by Tim Peters on 19 June 2006, 09:09:44 UTC
os.environ (setting envar COLUMNS), which at least caused
test_float_default() to fail if the tests were run more than once.

This repairs the test_optparse -R failures Neal reported on
python-dev.  It also explains some seemingly bizarre test_optparse
failures we saw a couple weeks ago on the buildbots, when
test_optparse failed due to test_file failing to clean up after
itself, and then test_optparse failed in an entirely different
way when regrtest's -w option ran test_optparse a second time.
It's now obvious that make_parser() permanently changing os.environ
was responsible for the second half of that.
1 parent c314ac5
History
Tip revision: e7d7caa17a3f63732ded961629704283a5508662 authored by Tim Peters on 19 June 2006, 09:09:44 UTC
TestHelp.make_parser(): This was making a permanent change to
Tip revision: e7d7caa

README

back to top