8000 [po] auto sync · python/python-docs-zh-cn@37d58ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 37d58ce

Browse files
[po] auto sync
1 parent 57bd963 commit 37d58ce

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.76%", "updated_at": "2025-06-09T22:55:48Z"}
1+
{"translation": "81.77%", "updated_at": "2025-06-09T23:55:42Z"}

library/doctest.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,6 +1937,10 @@ msgid ""
19371937
"approximate) line number. If all the examples in a docstring are skipped, "
19381938
"then the"
19391939
msgstr ""
1940+
"返回的 :class:`unittest.TestSuite` 将由 unittest 框架运行并运行模块中的每个文档测试。 "
1941+
"每个文档字符串都将作为单独的单元测试运行。 如果有任何文档测试运行失败,则合成的单元测试就将失败,并引发一个 "
1942+
":exc:`unittest.TestCase.failureException` 异常来显示包含该测试的文件名以及(有时为近似的)行号。 "
1943+
"如果文档字符串中的所有示例都被跳过,那么"
19401944

19411945
#: ../../library/doctest.rst:1121
19421946
msgid ""
@@ -1973,6 +1977,8 @@ msgid ""
19731977
"for function :func:`DocFileSuite` above, but they are called for each "
19741978
"docstring."
19751979
msgstr ""
1980+
"可选参数 *setUp*, *tearDown* 和 *optionflags* 与上述函数 :func:`DocFileSuite` "
1981+
"的相同,但它们会针对每个文档字符串来调用。"
19761982

19771983
#: ../../library/doctest.rst:1138
19781984
msgid "This function uses the same search technique as :func:`testmod`."
@@ -2028,6 +2034,8 @@ msgid ""
20282034
"For this reason, :mod:`doctest` also supports a notion of :mod:`!doctest` "
20292035
"reporting flags specific to :mod:`unittest` support, via this function:"
20302036
msgstr ""
2037+
"出于这个原因,:mod:`doctest` 也支持also supports a notion of :mod:`!doctest` 报告专属于 "
2038+
":mod:`unittest` 支持的旗标的概念,具体是通过这个函数:"
20312039

20322040
#: ../../library/doctest.rst:1170
20332041
msgid "Set the :mod:`doctest` reporting flags to use."

0 commit comments

Comments
 (0)
0