From: Tarek Ziadé Date: Thu, 12 Feb 2009 21:04:22 +0000 (+0000) Subject: Merged revisions 69553 via svnmerge from X-Git-Tag: v3.0.1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1205ee0956cd2000b15a06ad8863fc86521382d;p=thirdparty%2FPython%2Fcpython.git Merged revisions 69553 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r69553 | tarek.ziade | 2009-02-12 22:02:07 +0100 (Thu, 12 Feb 2009) | 9 lines 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 ........ ................ --- diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 4c5723255ad3..02c42aecb70e 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -1,6 +1,5 @@ import sys import os -import tempfile import shutil from io import StringIO @@ -19,7 +18,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)