We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acc89db commit 7b43828Copy full SHA for 7b43828
Lib/test/test_embed.py
@@ -58,10 +58,12 @@ def setUp(self):
58
ext = ("_d" if debug_build(sys.executable) else "") + ".exe"
59
exename += ext
60
exepath = builddir
61
+ expecteddir = support.REPO_ROOT
62
else:
63
exepath = os.path.join(builddir, 'Programs')
64
+ expecteddir = os.path.join(support.REPO_ROOT, 'Programs')
65
self.test_exe = exe = os.path.join(exepath, exename)
- if exepath != support.REPO_ROOT or not os.path.exists(exe):
66
+ if exepath != expecteddir or not os.path.exists(exe):
67
self.skipTest("%r doesn't exist" % exe)
68
# This is needed otherwise we get a fatal error:
69
# "Py_Initialize: Unable to get the locale encoding
0 commit comments