summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2018-12-07 05:09:53 (GMT)
committerGitHub <noreply@github.com>2018-12-07 05:09:53 (GMT)
commit253209149389e6793a052034e1f2d97691086f18 (patch)
tree21ebd5df1c2ce59a2d71a5d28ea879be7ad835a4 /Lib/test/test_pathlib.py
parent72c71956cade606bd5500cf76d4d7c1d50a7ccae (diff)
downloadcpython-253209149389e6793a052034e1f2d97691086f18.zip
cpython-253209149389e6793a052034e1f2d97691086f18.tar.gz
cpython-253209149389e6793a052034e1f2d97691086f18.tar.bz2
[3.7] bpo-34977: Add Windows App Store package (GH-10245)
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'))