summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index 188f4631..a6f02eb 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -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)