summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-12-16 18:35:22 (GMT)
committerGitHub <noreply@github.com>2019-12-16 18:35:22 (GMT)
commita76ba362c4d86adf5e7f8254398135d12d7afd25 (patch)
tree58c79d5a633c6bc039d80ad8cce5b0b522f16ed2 /Lib
parent814d687c7df3e0c60036943b68ece13f9f19dfef (diff)
downloadcpython-a76ba362c4d86adf5e7f8254398135d12d7afd25.zip
cpython-a76ba362c4d86adf5e7f8254398135d12d7afd25.tar.gz
cpython-a76ba362c4d86adf5e7f8254398135d12d7afd25.tar.bz2
bpo-39041: Add GitHub Actions support (GH-17594)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_py_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_py_compile.py b/Lib/test/test_py_compile.py
index d6677ab..d4a68c9 100644
--- a/Lib/test/test_py_compile.py
+++ b/Lib/test/test_py_compile.py
@@ -51,7 +51,7 @@ class SourceDateEpochTestMeta(type(unittest.TestCase)):
class PyCompileTestsBase:
def setUp(self):
- self.directory = tempfile.mkdtemp()
+ self.directory = tempfile.mkdtemp(dir=os.getcwd())
self.source_path = os.path.join(self.directory, '_test.py')
self.pyc_path = self.source_path + 'c'
self.cache_path = importlib.util.cache_from_source(self.source_path)