mirror of https://github.com/python/cpython
Remove obsolete code
This commit is contained in:
parent
006b485511
commit
cd7c3d9d5f
|
@ -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…
Reference in New Issue