]> granicus.if.org Git - python/commit
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1380)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 2 May 2017 11:11:50 +0000 (13:11 +0200)
committerGitHub <noreply@github.com>
Tue, 2 May 2017 11:11:50 +0000 (13:11 +0200)
commit92fd6c9ef54a857815e3dca8ee74b2b4f5cdf154
tree84b747fc0fd8154d8375c64c326f7f075e7bc16c
parentd4069de5112f0408801ff2479476827bb3e0e8fc
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1380)

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().

Move also tearDown() just after setUp().
Lib/distutils/tests/test_build_ext.py