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
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
PCbuild8
Parser
Python
RISCOS
Tools
.hgtags -rw-r--r-- 3.0 KB
LICENSE -rw-r--r-- 13.2 KB
Makefile.pre.in -rw-r--r-- 33.9 KB
README -rw-r--r-- 53.0 KB
configure -rwxr-xr-x 621.9 KB
configure.in -rw-r--r-- 93.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 26.4 KB
setup.py -rw-r--r-- 64.1 KB

README

back to top