File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
- {"translation" : " 81.76 %" , "updated_at" : " 2025-06-09T22 :55:48Z " }
1
+ {"translation" : " 81.77 %" , "updated_at" : " 2025-06-09T23 :55:42Z " }
Original file line number Diff line number Diff line change @@ -1937,6 +1937,10 @@ msgid ""
1937
1937
"approximate) line number. If all the examples in a docstring are skipped, "
1938
1938
"then the"
1939
1939
msgstr ""
1940
+ "返回的 :class:`unittest.TestSuite` 将由 unittest 框架运行并运行模块中的每个文档测试。 "
1941
+ "每个文档字符串都将作为单独的单元测试运行。 如果有任何文档测试运行失败,则合成的单元测试就将失败,并引发一个 "
1942
+ ":exc:`unittest.TestCase.failureException` 异常来显示包含该测试的文件名以及(有时为近似的)行号。 "
1943
+ "如果文档字符串中的所有示例都被跳过,那么"
1940
1944
1941
1945
#: ../../library/doctest.rst:1121
1942
1946
msgid ""
@@ -1973,6 +1977,8 @@ msgid ""
1973
1977
"for function :func:`DocFileSuite` above, but they are called for each "
1974
1978
"docstring."
1975
1979
msgstr ""
1980
+ "可选参数 *setUp*, *tearDown* 和 *optionflags* 与上述函数 :func:`DocFileSuite` "
1981
+ "的相同,但它们会针对每个文档字符串来调用。"
1976
1982
1977
1983
#: ../../library/doctest.rst:1138
1978
1984
msgid "This function uses the same search technique as :func:`testmod`."
@@ -2028,6 +2034,8 @@ msgid ""
2028
2034
"For this reason, :mod:`doctest` also supports a notion of :mod:`!doctest` "
2029
2035
"reporting flags specific to :mod:`unittest` support, via this function:"
2030
2036
msgstr ""
2037
+ "出于这个原因,:mod:`doctest` 也支持also supports a notion of :mod:`!doctest` 报告专属于 "
2038
+ ":mod:`unittest` 支持的旗标的概念,具体是通过这个函数:"
2031
2039
2032
2040
#: ../../library/doctest.rst:1170
2033
2041
msgid "Set the :mod:`doctest` reporting flags to use."
You can’t perform that action at this time.
0 commit comments