@@ -861,7 +861,7 @@ msgstr ""
861861msgid ""
862862"Context manager to wait until all threads created in the ``with`` statement "
863863"exit."
864- msgstr ""
864+ msgstr "等待直到 ``with`` 语句中所有已创建线程退出的上下文管理器。 "
865865
866866#: ../../library/test.rst:776
867867msgid ""
@@ -1148,13 +1148,13 @@ msgstr ""
11481148
11491149#: ../../library/test.rst:1048
11501150msgid "Return current thread count and copy of dangling threads."
1151- msgstr ""
1151+ msgstr "返回当前线程计数和悬空线程的副本。 "
11521152
11531153#: ../../library/test.rst:1053
11541154msgid ""
11551155"Cleanup up threads not specified in *original_values*. Designed to emit a "
11561156"warning if a test leaves running threads in the background."
1157- msgstr ""
1157+ msgstr "清理未在 *original_values* 中指定的线程。 被设计为如果有一个测试在后台离开正在运行的线程时会发出警告。 "
11581158
11591159#: ../../library/test.rst:1059
11601160msgid ""
@@ -1219,26 +1219,27 @@ msgid ""
12191219"Context manager catching :class:`threading.Thread` exception using "
12201220":func:`threading.excepthook`."
12211221msgstr ""
1222+ "使用 :func:`threading.excepthook` 来捕获 :class:`threading.Thread` 异常的上下文管理器。"
12221223
12231224#: ../../library/test.rst:1106
12241225msgid "Attributes set when an exception is catched:"
12251226msgstr ""
12261227
12271228#: ../../library/test.rst:1108
12281229msgid "``exc_type``"
1229- msgstr ""
1230+ msgstr "``exc_type`` "
12301231
12311232#: ../../library/test.rst:1109
12321233msgid "``exc_value``"
1233- msgstr ""
1234+ msgstr "``exc_value`` "
12341235
12351236#: ../../library/test.rst:1110
12361237msgid "``exc_traceback``"
1237- msgstr ""
1238+ msgstr "``exc_traceback`` "
12381239
12391240#: ../../library/test.rst:1111
12401241msgid "``thread``"
1241- msgstr ""
1242+ msgstr "``thread`` "
12421243
12431244#: ../../library/test.rst:1113
12441245msgid "See :func:`threading.excepthook` documentation."
0 commit comments