summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/model_regress/test_pickle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_regress/test_pickle.py b/tests/model_regress/test_pickle.py
index 7f563f497d..aa7002ab27 100644
--- a/tests/model_regress/test_pickle.py
+++ b/tests/model_regress/test_pickle.py
@@ -88,7 +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'),
+ str('LANG'): os.environ.get('LANG', ''),
}
if 'SYSTEMROOT' in os.environ: # Windows http://bugs.python.org/issue20614
env[str('SYSTEMROOT')] = os.environ['SYSTEMROOT']