From a76ba362c4d86adf5e7f8254398135d12d7afd25 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 16 Dec 2019 10:35:22 -0800 Subject: bpo-39041: Add GitHub Actions support (GH-17594) --- Lib/test/test_py_compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_py_compile.py') diff --git a/Lib/test/test_py_compile.py b/Lib/test/test_py_compile.py index d6677ab45ff..d4a68c9320d 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) -- cgit v1.2.3