• Tim Peters's avatar
    TestHelp.make_parser(): This was making a permanent change to · e7d7caa1
    Tim Peters yazdı
    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.
    e7d7caa1
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
PCbuild8 Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...