From 13137c328799f86fe0b8575049663097f5d6590d Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Thu, 28 Oct 2021 15:01:57 -0600 Subject: [PATCH] Stop skipping test_embed. --- Lib/test/test_embed.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 3a00efa5799b95..a0d61504f427d2 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -58,10 +58,12 @@ def setUp(self): ext = ("_d" if debug_build(sys.executable) else "") + ".exe" exename += ext exepath = builddir + expecteddir = support.REPO_ROOT else: exepath = os.path.join(builddir, 'Programs') + expecteddir = os.path.join(support.REPO_ROOT, 'Programs') self.test_exe = exe = os.path.join(exepath, exename) - if exepath != support.REPO_ROOT or not os.path.exists(exe): + if exepath != expecteddir or not os.path.exists(exe): self.skipTest("%r doesn't exist" % exe) # This is needed otherwise we get a fatal error: # "Py_Initialize: Unable to get the locale encoding