]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Trying to see if the @ in a path is causing the issue in the
authorFacundo Batista <facundobatista@gmail.com>
Sun, 22 Jun 2008 16:11:34 +0000 (16:11 +0000)
committerFacundo Batista <facundobatista@gmail.com>
Sun, 22 Jun 2008 16:11:34 +0000 (16:11 +0000)
shutil.rmtree() in the trunk.loewis-sun buildbot.

Lib/test/test_posix.py

index 188f4631ac88eb1be8db5cd9ba138138b73a3505..a6f02eb1fe5458afb6356647fcf5235399cfd5d8 100644 (file)
@@ -236,7 +236,7 @@ class PosixTester(unittest.TestCase):
         if hasattr(posix, 'getcwd'):
             dirname = 'getcwd-test-directory-0123456789abcdef-01234567890abcdef'
             curdir = os.getcwd()
-            base_path = os.path.abspath(test_support.TESTFN) + '.getcwd'
+            base_path = os.path.abspath(test_support.TESTFN[1:]) + '.getcwd'
 
             try:
                 os.mkdir(base_path)