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

Skip to content

Commit 7359e8b

Browse files
[po] auto sync
1 parent ba2b813 commit 7359e8b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

library/unittest.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,33 +1880,35 @@ msgstr "将 ``maxDiff`` 设为 ``None`` 表示不限制 diffs 的最大长度。
18801880
msgid ""
18811881
"Testing frameworks can use the following methods to collect information on "
18821882
"the test:"
1883-
msgstr ""
1883+
msgstr "测试框架可使用下列方法来收集测试的有关信息:"
18841884

18851885
#: ../../library/unittest.rst:1421
18861886
msgid ""
18871887
"Return the number of tests represented by this test object. For "
18881888
":class:`TestCase` instances, this will always be ``1``."
1889-
msgstr ""
1889+
msgstr "返回此测试对象所提供的测试数量。 对于 :class:`TestCase` 实例,该数量将总是为 ``1``。"
18901890

18911891
#: ../../library/unittest.rst:1427
18921892
msgid ""
18931893
"Return an instance of the test result class that should be used for this "
18941894
"test case class (if no other result instance is provided to the :meth:`run` "
18951895
"method)."
1896-
msgstr ""
1896+
msgstr "返回此测试类所要使用的测试结果类的实例(如果未向 :meth:`run` 方法提供其他结果实例)。"
18971897

18981898
#: ../../library/unittest.rst:1431
18991899
msgid ""
19001900
"For :class:`TestCase` instances, this will always be an instance of "
19011901
":class:`TestResult`; subclasses of :class:`TestCase` should override this as"
19021902
" necessary."
19031903
msgstr ""
1904+
"对于 :class:`TestCase` 实例,该返回值将总是为 :class:`TestResult` 的实例;:class:`TestCase` "
1905+
"的子类应当在有必要时重载此方法。"
19041906

19051907
#: ../../library/unittest.rst:1438
19061908
msgid ""
19071909
"Return a string identifying the specific test case. This is usually the "
19081910
"full name of the test method, including the module and class name."
1909-
msgstr ""
1911+
msgstr "返回一个标识指定测试用例的字符串。 该返回值通常为测试方法的完整名称,包括模块名和类名。"
19101912

19111913
#: ../../library/unittest.rst:1444
19121914
msgid ""

0 commit comments

Comments
 (0)