Remove obsolete code

This commit is contained in:
Éric Araujo 2011-08-21 17:37:36 +02:00
parent 006b485511
commit cd7c3d9d5f
1 changed files with 0 additions and 2 deletions

View File

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