diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-15 18:59:54 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-17 07:32:48 -0500 |
| commit | d316b43d0ab9db0f9913b094b84b11362d36d054 (patch) | |
| tree | 0fea7c4d5c4444627067a26dda9a0343b026acf8 | |
| parent | 4a0aeac1b5cfb7b6229a01119a596afb38d8a2a0 (diff) | |
Refs #24324 -- Fixed UnicodeDecodeError in model_regress test on non-ASCII path.
| -rw-r--r-- | tests/model_regress/test_pickle.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_regress/test_pickle.py b/tests/model_regress/test_pickle.py index 9f3725ad18..2c02d4f298 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'] |
