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

Commit21c811c

Browse files
committed
[PBCKP-365] jentlier
1 parenta65902c commit21c811c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎tests/option_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,11 @@ def test_help_6(self):
220220
"""help options"""
221221
ifProbackupTest.enable_nls:
222222
ifcheck_locale('ru_RU.utf-8'):
223-
self.test_env['LC_ALL']='ru_RU.utf-8'
223+
env=self.test_env.copy()
224+
env['LC_MESSAGES']='ru_RU.utf-8'
224225
withopen(os.path.join(self.dir_path,"expected/option_help_ru.out"),"rb")ashelp_out:
225226
self.assertEqual(
226-
self.run_pb(["--help"]),
227+
self.run_pb(["--help"],env=env),
227228
help_out.read().decode("utf-8")
228229
)
229230
else:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp