From d316b43d0ab9db0f9913b094b84b11362d36d054 Mon Sep 17 00:00:00 2001
From: Tim Graham <timograham@gmail.com>
Date: Sun, 15 Feb 2015 18:59:54 -0500
Subject: [PATCH] Refs #24324 -- Fixed UnicodeDecodeError in model_regress test
 on non-ASCII path.

---
 tests/model_regress/test_pickle.py | 1 +
 1 file changed, 1 insertion(+)

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']