]> granicus.if.org Git - python/commit
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387) (#1388)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 2 May 2017 14:26:04 +0000 (16:26 +0200)
committerGitHub <noreply@github.com>
Tue, 2 May 2017 14:26:04 +0000 (16:26 +0200)
commit3ceeb84b5a90e327ef55190105e82c926b0b8aab
treecbc27f86b6a06094591be28ff7c1d6fab51f51bc
parent092f4602c329e23b863692249cc630a3eba5b6b5
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387) (#1388)

BuildExtTestCase of test_distutils now uses support.temp_cwd() in
setUp() to remove files created in the current working in all
BuildExtTestCase unit tests, not only test_build_ext().

Fix the following warning:

Warning -- files was modified by test_distutils
  Before: []
  After:  ['vc140.pdb']
(cherry picked from commit 30768958490c658fba0fe24f1cabbdad44be22ff)
Lib/distutils/tests/test_build_ext.py