Commits

Andreas Stührk committed cd04442

Include $LANG in the child's environment in test_crashers.

Comments (0)

Files changed (1)

bpython/test/test_crashers.py

         reactor.spawnProcess(Protocol(), sys.executable,
             (sys.executable, "-m", "bpython." + self.backend,
              "--config",  TEST_CONFIG),
-            env=dict(TERM="vt100"),
+            env=dict(TERM="vt100", LANG=os.environ.get("LANG", "")),
             usePTY=(master, slave, os.ttyname(slave)))
         return result