]> granicus.if.org Git - python/commit
bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 14 Jun 2019 17:49:22 +0000 (10:49 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Jun 2019 17:49:22 +0000 (10:49 -0700)
commite696b15a62dd0c85fe6ed3c9698b5f889c0bb1b3
treeec1c812f76785659a06a3ef5382a09d5ae758c5c
parent3b976d19c8c09e83eec63a5b62daf4d55bfd6aeb
bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721)

bpo-35537, bpo-35876: Fix also test_start_new_session() of
test_subprocess: use os.getsid() rather than os.getpgid().
(cherry picked from commit 5884043252473ac733aba1d3251d4debe72511e5)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_posix.py
Lib/test/test_subprocess.py