]> granicus.if.org Git - python/commit
bpo-37421: Fix test_distutils.test_build_ext() (GH-14564)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Jul 2019 09:48:14 +0000 (02:48 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Jul 2019 09:48:14 +0000 (02:48 -0700)
commit0aefba7f99f0fd9bcb3328a5919e07f9e03676b0
treef4f3175be3ac50b2cd56c86d9ff151028be45489
parent79665c698fb8f97475e03c4231067db1ae47addb
bpo-37421: Fix test_distutils.test_build_ext() (GH-14564)

test_distutils.test_build_ext() is now able to remove the temporary
directory on Windows: don't import the newly built C extension ("xx")
in the current process, but test it in a separated process.
(cherry picked from commit 74c9dd57771f4f061ee83b069c8e7b37de41246b)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/distutils/tests/support.py
Lib/distutils/tests/test_build_ext.py
Misc/NEWS.d/next/Tests/2019-07-03-00-05-28.bpo-37421.ORGRSG.rst [new file with mode: 0644]