summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2018-12-11 03:58:52 (GMT)
committerGitHub <noreply@github.com>2018-12-11 03:58:52 (GMT)
commit0e4ad88ff8956d9289ab0a1314636ac15b374459 (patch)
tree3c8216e19854f3d733bc6377c1dd39d4c0a35536 /Lib/test/test_pathlib.py
parentb3ffe47bcbb83e31b71644031d4092f7f9456a34 (diff)
downloadcpython-0e4ad88ff8956d9289ab0a1314636ac15b374459.zip
cpython-0e4ad88ff8956d9289ab0a1314636ac15b374459.tar.gz
cpython-0e4ad88ff8956d9289ab0a1314636ac15b374459.tar.bz2
bpo-34977: Add Windows App Store package (GH-11027)
Also adds the PC/layout script for generating layouts on Windows.
Diffstat (limited to 'Lib/test/test_pathlib.py')
-rw-r--r--Lib/test/test_pathlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py
index e436db9..056507e 100644
--- a/Lib/test/test_pathlib.py
+++ b/Lib/test/test_pathlib.py
@@ -1519,7 +1519,7 @@ class _BasePathTest(object):
# resolves to 'dirB/..' first before resolving to parent of dirB.
self._check_resolve_relative(p, P(BASE, 'foo', 'in', 'spam'), False)
# Now create absolute symlinks
- d = support._longpath(tempfile.mkdtemp(suffix='-dirD'))
+ d = support._longpath(tempfile.mkdtemp(suffix='-dirD', dir=os.getcwd()))
self.addCleanup(support.rmtree, d)
os.symlink(os.path.join(d), join('dirA', 'linkX'))
os.symlink(join('dirB'), os.path.join(d, 'linkY'))