summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-15 18:59:54 -0500
committerTim Graham <timograham@gmail.com>2015-02-17 07:35:00 -0500
commitb2f7daa4a6ba4f463dd79b19c337c738201479ad (patch)
tree5c5388270892ca15b5a907da350dae929ca68e82
parentbcb3bfa5a2716454e15ca0203e0debf497b14273 (diff)
[1.8.x] Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path.
Backport of d316b43d0ab9db0f9913b094b84b11362d36d054 from master
-rw-r--r--tests/model_regress/test_pickle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_regress/test_pickle.py b/tests/model_regress/test_pickle.py
index 4d64a32a23..7f563f497d 100644
--- a/tests/model_regress/test_pickle.py
+++ b/tests/model_regress/test_pickle.py
@@ -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']