]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33455: Pass os.environ in test_posix::test_specify_environment. (GH-6753)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 11 May 2018 06:01:44 +0000 (23:01 -0700)
committerGitHub <noreply@github.com>
Fri, 11 May 2018 06:01:44 +0000 (23:01 -0700)
commit6e9456e4f6123b13750a10e6ae2eba83504d2f1a
tree3513228668f0f7f19fba6d9b5ed4bd2f8b3ee6d7
parentc5444b355695755035d4a5cadc0467e850bb04c2
bpo-33455: Pass os.environ in test_posix::test_specify_environment. (GH-6753)

Pass os.environ's copy to new process created at test_posix:
test_specify_environment. Otherwise important variables such as
LD_LIBRARY_PATH are not set and the child process might not work at all
in an environment where such variables are required for Python to function.
(cherry picked from commit 7ec8f28656ea9d84048e9b5655375c6a74a59f53)

Co-authored-by: Miro HronĨok <miro@hroncok.cz>
Lib/test/test_posix.py