File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1880,33 +1880,35 @@ msgstr "将 ``maxDiff`` 设为 ``None`` 表示不限制 diffs 的最大长度。
18801880msgid ""
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
18861886msgid ""
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
18921892msgid ""
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
18991899msgid ""
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."
19031903msgstr ""
1904+ "对于 :class:`TestCase` 实例,该返回值将总是为 :class:`TestResult` 的实例;:class:`TestCase` "
1905+ "的子类应当在有必要时重载此方法。"
19041906
19051907#: ../../library/unittest.rst:1438
19061908msgid ""
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
19121914msgid ""
You can’t perform that action at this time.
0 commit comments