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 912fed3 commit 390e929Copy full SHA for 390e929
Lib/test/test_embed.py
@@ -78,7 +78,10 @@ def setUp(self):
78
# "Py_Initialize: Unable to get the locale encoding
79
# LookupError: no codec search functions registered: can't find encoding"
80
self.oldcwd = os.getcwd()
81
- os.chdir(builddir)
+ if MS_WINDOWS:
82
+ os.chdir(support.REPO_ROOT)
83
+ else:
84
+ os.chdir(builddir)
85
86
def tearDown(self):
87
os.chdir(self.oldcwd)
0 commit comments