diff options
-rw-r--r-- | Lib/test/test_embed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 4b4396e..4186f01 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -61,7 +61,7 @@ class EmbeddingTestsMixin: 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 |