Barry Warsaw pushed to branch click-cli at mailman / Mailman

Commits:
f3c9b2b2 by Barry Warsaw at 2017-07-09T15:35:39-04:00
Debugging the locale.

- - - - -


1 changed file:

- src/mailman/testing/helpers.py


Changes:

=====================================
src/mailman/testing/helpers.py
=====================================
--- a/src/mailman/testing/helpers.py
+++ b/src/mailman/testing/helpers.py
@@ -562,6 +562,9 @@ def hackenv(envar, new_value):
 
 
 def nose2_start_test_run_callback(plugin):
+    for name in sorted(os.environ):
+        if name.startswith('LC_') or name.startswith('LANG'):
+            print('{}: {}'.format(name, os.environ[name]), file=sys.stderr)
     from mailman.testing.layers import ConfigLayer, MockAndMonkeyLayer
     MockAndMonkeyLayer.testing_mode = True
     if (plugin.stderr or



View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/f3c9b2b22b93dec7e1699e1c075162e974b3c04b

---
View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/f3c9b2b22b93dec7e1699e1c075162e974b3c04b
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to