Skip to content

Commit 13137c3

Browse files
Stop skipping test_embed.
1 parent acc89db commit 13137c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_embed.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@ def setUp(self):
5858
ext = ("_d" if debug_build(sys.executable) else "") + ".exe"
5959
exename += ext
6060
exepath = builddir
61+
expecteddir = support.REPO_ROOT
6162
else:
6263
exepath = os.path.join(builddir, 'Programs')
64+
expecteddir = os.path.join(support.REPO_ROOT, 'Programs')
6365
self.test_exe = exe = os.path.join(exepath, exename)
64-
if exepath != support.REPO_ROOT or not os.path.exists(exe):
66+
if exepath != expecteddir or not os.path.exists(exe):
6567
self.skipTest("%r doesn't exist" % exe)
6668
# This is needed otherwise we get a fatal error:
6769
# "Py_Initialize: Unable to get the locale encoding

0 commit comments

Comments
 (0)