mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Remove obsolete code
This commit is contained in:
parent
006b485511
commit
cd7c3d9d5f
1 changed files with 0 additions and 2 deletions
|
@ -24,13 +24,11 @@ class BuildExtTestCase(support.TempdirManager,
|
||||||
self.tmp_dir = self.mkdtemp()
|
self.tmp_dir = self.mkdtemp()
|
||||||
self.old_user_base = site.USER_BASE
|
self.old_user_base = site.USER_BASE
|
||||||
site.USER_BASE = self.mkdtemp()
|
site.USER_BASE = self.mkdtemp()
|
||||||
build_ext.USER_BASE = site.USER_BASE
|
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
# Get everything back to normal
|
# Get everything back to normal
|
||||||
if sys.version > "2.6":
|
if sys.version > "2.6":
|
||||||
site.USER_BASE = self.old_user_base
|
site.USER_BASE = self.old_user_base
|
||||||
build_ext.USER_BASE = self.old_user_base
|
|
||||||
|
|
||||||
super(BuildExtTestCase, self).tearDown()
|
super(BuildExtTestCase, self).tearDown()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue