]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45653: fix test_embed on windows (GH-29814)
authorKumar Aditya <rahuladitya303@gmail.com>
Mon, 29 Nov 2021 20:27:34 +0000 (01:57 +0530)
committerGitHub <noreply@github.com>
Mon, 29 Nov 2021 20:27:34 +0000 (12:27 -0800)
Lib/test/test_embed.py

index e1af15dd70ff91a240e8ad17a95c6f1df2045870..94cdd98b2dbba47dd843006feeeed2aaf794c915 100644 (file)
@@ -65,7 +65,7 @@ class EmbeddingTestsMixin:
             ext = ("_d" if debug_build(sys.executable) else "") + ".exe"
             exename += ext
             exepath = builddir
-            expecteddir = support.REPO_ROOT
+            expecteddir = os.path.join(support.REPO_ROOT, builddir)
         else:
             exepath = os.path.join(builddir, 'Programs')
             expecteddir = os.path.join(support.REPO_ROOT, 'Programs')