Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b0825a

Browse files
[po] auto sync
1 parent 887bcc6 commit 0b0825a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

library/unittest.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,17 +1842,21 @@ msgid ""
18421842
"of the standard failure message. When set to ``False``, the custom message "
18431843
"replaces the standard message."
18441844
msgstr ""
1845+
"这个类属性决定当将一个自定义失败消息作为 msg 参数传给一个失败的 assertXYY 调用时会发生什么。默认值为 ``True``。 "
1846+
"在此情况下,自定义消息会被添加到标准失败消息的末尾。 当设为 ``False`` 时,自定义消息会替换标准消息。"
18451847

18461848
#: ../../library/unittest.rst:1391
18471849
msgid ""
18481850
"The class setting can be overridden in individual test methods by assigning "
18491851
"an instance attribute, self.longMessage, to ``True`` or ``False`` before "
18501852
"calling the assert methods."
18511853
msgstr ""
1854+
"类设置可以通过在调用断言方法之前将一个实例属性 self.longMessage 赋值为 ``True`` 或 ``False`` "
1855+
"在单个测试方法中进行重载。"
18521856

18531857
#: ../../library/unittest.rst:1395
18541858
msgid "The class setting gets reset before each test call."
1855-
msgstr ""
1859+
msgstr "类设置会在每个测试调用之前被重置。"
18561860

18571861
#: ../../library/unittest.rst:1402
18581862
msgid ""

0 commit comments

Comments
 (0)