]> granicus.if.org Git - python/commit
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 2 May 2017 13:50:42 +0000 (15:50 +0200)
committerGitHub <noreply@github.com>
Tue, 2 May 2017 13:50:42 +0000 (15:50 +0200)
commit30768958490c658fba0fe24f1cabbdad44be22ff
tree27516027f8fdf248e969dd65e02a13d9f850a2d4
parent33a5d40de997fff5b60157c546a3bf711e083bcc
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387)

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']
Lib/distutils/tests/test_build_ext.py