From c2989f3ad71a3c72dd499ce07683659abd35fb42 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Mon, 18 Oct 2021 17:35:38 -0600 Subject: [PATCH] Go back to not running most of test_embed in out-of-tree builds. --- Lib/test/test_embed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 4b4396efb5cadb..4186f011e2388a 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -61,7 +61,7 @@ def setUp(self): else: exepath = os.path.join(builddir, 'Programs') self.test_exe = exe = os.path.join(exepath, exename) - if not os.path.exists(exe): + if exepath != support.REPO_ROOT 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