Skip to content

Commit d4b1e81

Browse files
committed
Include $LANG in the child's environment in test_crashers.
1 parent cc777a1 commit d4b1e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/test/test_crashers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def processExited(self, reason):
7373
reactor.spawnProcess(Protocol(), sys.executable,
7474
(sys.executable, "-m", "bpython." + self.backend,
7575
"--config", TEST_CONFIG),
76-
env=dict(TERM="vt100"),
76+
env=dict(TERM="vt100", LANG=os.environ.get("LANG", "")),
7777
usePTY=(master, slave, os.ttyname(slave)))
7878
return result
7979

0 commit comments

Comments
 (0)