diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-12 21:02:07 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-12 21:02:07 (GMT) |
commit | 9474e0da11897e2e0fec34818f1dbd92c6a23c71 (patch) | |
tree | e0c1a0a1a0a70704e28b787a2f2ffa3ff9206d70 /Lib/distutils | |
parent | c28ad27dbb7e79486691c814d0c31b8da7ad2602 (diff) | |
download | cpython-9474e0da11897e2e0fec34818f1dbd92c6a23c71.zip cpython-9474e0da11897e2e0fec34818f1dbd92c6a23c71.tar.gz cpython-9474e0da11897e2e0fec34818f1dbd92c6a23c71.tar.bz2 |
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
........
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_build_ext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 5e42943..aa5378c 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 @@ -23,7 +22,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) shutil.copy(_get_source_filename(), self.tmp_dir) |