]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32942: Fix environment dependent test_script_helper (GH-8034)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Jul 2018 10:35:08 +0000 (03:35 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Jul 2018 10:35:08 +0000 (03:35 -0700)
commit6b3ff35670869fb915d43ac434c473c1fc11598e
tree84829611c7f58e180f757ce6e2231357a1b7ff8a
parenteb700f8c94602feb8c10ad8fc600f55e17e3b092
bpo-32942: Fix environment dependent test_script_helper (GH-8034)

Result of function interpreter_requires_environment() depends on os.environ.
This was not covered by the tests, leading to fail when PYTHONHOME was set.
(cherry picked from commit a390cb6b6fb6638e91d699513167e8f35b47f846)

Co-authored-by: Lorenz Mende <Lorenz.mende@gmail.com>
Lib/test/test_script_helper.py