Merged revisions 69551 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69551 | tarek.ziade | 2009-02-12 21:56:21 +0100 (Thu, 12 Feb 2009) | 1 line

  fixing the leak introduced in r69304
........
This commit is contained in:
Tarek Ziadé 2009-02-12 21:00:18 +00:00
parent a84f265c36
commit 0a026ffd86
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import sys
import os
import tempfile
import shutil
from StringIO import StringIO
@ -15,7 +14,8 @@ class BuildExtTestCase(unittest.TestCase):
def setUp(self):
# Create a simple test environment
# Note that we're making changes to sys.path
self.tmp_dir = tempfile.mkdtemp(prefix="pythontest_")
self.tmp_dir = os.path.join(os.path.dirname(__file__), 'xx')
os.mkdir(self.tmp_dir)
self.sys_path = sys.path[:]
sys.path.append(self.tmp_dir)