Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfa43777

Browse files
committed
The tests require unicode, so set LANG and LC_ALL to C.UTF-8
1 parent4364fc9 commitfa43777

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎bpython/test/test_curtsies_painting.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ def setup_config():
2929
classClearEnviron(TestCase):
3030
@classmethod
3131
defsetUpClass(cls):
32-
cls.mock_environ=mock.patch.dict("os.environ", {},clear=True)
32+
cls.mock_environ=mock.patch.dict(
33+
"os.environ", {"LC_LANG":"C.UTF-8","LANG":"C.UTF-8"},clear=True
34+
)
3335
cls.mock_environ.start()
3436
TestCase.setUpClass()
3537

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp