Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path.
This commit is contained in:
parent
4a0aeac1b5
commit
d316b43d0a
|
@ -88,6 +88,7 @@ print(article.headline)"""
|
|||
str('PYTHONPATH'): os.pathsep.join(sys.path),
|
||||
# Needed on Windows because http://bugs.python.org/issue8557
|
||||
str('PATH'): os.environ['PATH'],
|
||||
str('LANG'): os.environ.get('LANG'),
|
||||
}
|
||||
if 'SYSTEMROOT' in os.environ: # Windows http://bugs.python.org/issue20614
|
||||
env[str('SYSTEMROOT')] = os.environ['SYSTEMROOT']
|
||||
|
|
Loading…
Reference in New Issue