• Gregory P. Smith's avatar
    bpo-12383: Refactor subprocess test_empty_env (#1874) · b351248c
    Gregory P. Smith yazdı
    Bugfix: This test wasn't being run because it was skipping based on the
    presence of Py_ENABLE_SHARED rather than its value.  It is always present
    on POSIX systems but defaults to 0.
    
    Refactoring: Move the environment variables that can be ignored into a
    function.  Parse the list from the child process and filter out the ones
    to exclude in the parent before checking that the rest is empty.
    
    Feature: Adds always present environment variables to ignore when
    running in a Gentoo sandbox so that the test can pass there.
    b351248c
Adı
Son kayıt (commit)
Son güncelleme
.github 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...
Parser Loading commit data...
Programs Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgeol Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.mention-bot Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README.rst Loading commit data...
aclocal.m4 Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...