Skip to content

Commit dbec1b3

Browse files
[po] auto sync
1 parent 9f34973 commit dbec1b3

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.35%", "updated_at": "2024-05-07T02:11:55Z"}
1+
{"translation": "95.36%", "updated_at": "2024-05-07T02:56:17Z"}

whatsnew/3.4.po

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

29162921
#: ../../whatsnew/3.4.rst:1705
29172922
msgid ""
29182923
"Test discovery now works with namespace packages (Contributed by Claudiu "
29192924
"Popa in :issue:`17457`.)"
2920-
msgstr ""
2925+
msgstr "现在测试发现将可用于命名空间包(由 Claudiu Popa 在 :issue:`17457` 中贡献。).)"
29212926

29222927
#: ../../whatsnew/3.4.rst:1708
29232928
msgid ""
@@ -2926,12 +2931,16 @@ msgid ""
29262931
"position or name, instead of only by position. (Contributed by Antoine "
29272932
"Pitrou in :issue:`17015`.)"
29282933
msgstr ""
2934+
"现在 :mod:`unittest.mock` 对象可以在匹配调用时检查其规范签名,这意味着现在可以通过位置或名称来匹配参数,而不是仅能通过位置。 (由"
2935+
" Antoine Pitrou 在 :issue:`17015` 中贡献。)"
29292936

29302937
#: ../../whatsnew/3.4.rst:1713
29312938
msgid ""
29322939
":func:`~mock.mock_open` objects now have ``readline`` and ``readlines`` "
29332940
"methods. (Contributed by Toshio Kuratomi in :issue:`17467`.)"
29342941
msgstr ""
2942+
"现在 :func:`~mock.mock_open` 对象具有 ``readline`` 和 ``readlines`` 方法。 (由 Toshio "
2943+
"Kuratomi 在 :issue:`17467` 中贡献。)"
29352944

29362945
#: ../../whatsnew/3.4.rst:1718
29372946
msgid "venv"
@@ -2942,6 +2951,8 @@ msgid ""
29422951
":mod:`venv` now includes activation scripts for the ``csh`` and ``fish`` "
29432952
"shells. (Contributed by Andrew Svetlov in :issue:`15417`.)"
29442953
msgstr ""
2954+
"现在 :mod:`venv` 包括了用于 ``csh`` 和 ``fish`` shell 的激活脚本。 (由 Andrew Svetlov 在 "
2955+
":issue:`15417` 中贡献。)"
29452956

29462957
#: ../../whatsnew/3.4.rst:1723
29472958
msgid ""

0 commit comments

Comments
 (0)