Skip to content

Commit 02457b5

Browse files
[po] auto sync
1 parent bc83d57 commit 02457b5

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.stat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.91%", "updated_at": "2024-05-07T01:40:48Z"}
1+
{"translation": "92.92%", "updated_at": "2024-05-07T02:28:11Z"}

whatsnew/3.4.po

+12-1
Original file line numberDiff line numberDiff line change
@@ -2854,12 +2854,17 @@ msgid ""
28542854
"and/or formatted messages that were logged. (Contributed by Antoine Pitrou "
28552855
"in :issue:`18937`.)"
28562856
msgstr ""
2857+
"新增的测试断言上下文管理器 :meth:`~unittest.TestCase.assertLogs` 将确保给定的代码块使用 "
2858+
":mod:`logging` 模块发出日志记录消息。 在默认情况下消息可来自任意日志记录器并具有 ``INFO`` "
2859+
"或更高的优先级,但要指明日志记录器名称和替代的最低日志级别。 可以在该上下文管理器所返回的对象中查询 "
2860+
":class:`~logging.LogRecord` 和/或所记录的已格式化消息。 (由 Antoine Pitrou 在 "
2861+
":issue:`18937` 中贡献。)"
28572862

28582863
#: ../../whatsnew/3.4.rst:1705
28592864
msgid ""
28602865
"Test discovery now works with namespace packages (Contributed by Claudiu "
28612866
"Popa in :issue:`17457`.)"
2862-
msgstr ""
2867+
msgstr "现在测试发现将可用于命名空间包(由 Claudiu Popa 在 :issue:`17457` 中贡献。).)"
28632868

28642869
#: ../../whatsnew/3.4.rst:1708
28652870
msgid ""
@@ -2868,12 +2873,16 @@ msgid ""
28682873
"position or name, instead of only by position. (Contributed by Antoine "
28692874
"Pitrou in :issue:`17015`.)"
28702875
msgstr ""
2876+
"现在 :mod:`unittest.mock` 对象可以在匹配调用时检查其规范签名,这意味着现在可以通过位置或名称来匹配参数,而不是仅能通过位置。 (由"
2877+
" Antoine Pitrou 在 :issue:`17015` 中贡献。)"
28712878

28722879
#: ../../whatsnew/3.4.rst:1713
28732880
msgid ""
28742881
":func:`~mock.mock_open` objects now have ``readline`` and ``readlines`` "
28752882
"methods. (Contributed by Toshio Kuratomi in :issue:`17467`.)"
28762883
msgstr ""
2884+
"现在 :func:`~mock.mock_open` 对象具有 ``readline`` 和 ``readlines`` 方法。 (由 Toshio "
2885+
"Kuratomi 在 :issue:`17467` 中贡献。)"
28772886

28782887
#: ../../whatsnew/3.4.rst:1718
28792888
msgid "venv"
@@ -2884,6 +2893,8 @@ msgid ""
28842893
":mod:`venv` now includes activation scripts for the ``csh`` and ``fish`` "
28852894
"shells. (Contributed by Andrew Svetlov in :issue:`15417`.)"
28862895
msgstr ""
2896+
"现在 :mod:`venv` 包括了用于 ``csh`` 和 ``fish`` shell 的激活脚本。 (由 Andrew Svetlov 在 "
2897+
":issue:`15417` 中贡献。)"
28872898

28882899
#: ../../whatsnew/3.4.rst:1723
28892900
msgid ""

0 commit comments

Comments
 (0)