@@ -562,7 +562,7 @@ msgstr ":mod:`test.support` 模块定义了以下函数:"
562562msgid ""
563563"Remove the module named *module_name* from ``sys.modules`` and delete any "
564564"byte-compiled files of the module."
565- msgstr ""
565+ msgstr "从 ``sys.modules`` 移除名为 *module_name* 的模块并删除该模块的已编译字节码文件。 "
566566
567567#: ../../library/test.rst:454
568568msgid "Delete *name* from ``sys.modules``."
@@ -847,7 +847,7 @@ msgstr "使用输入流的示例::"
847847msgid ""
848848"A context manager that creates a temporary directory at *path* and yields "
849849"the directory."
850- msgstr ""
850+ msgstr "一个在 *path* 上创建临时目录并输出该目录的上下文管理器。 "
851851
852852#: ../../library/test.rst:726
853853msgid ""
@@ -856,6 +856,8 @@ msgid ""
856856"raises an exception on error. Otherwise, if *path* is specified and cannot "
857857"be created, only a warning is issued."
858858msgstr ""
859+ "如果 *path* 为 ``None``,则会使用 :func:`tempfile.mkdtemp` 来创建临时目录。 如果 *quiet* 为 "
860+ "``False``,则该上下文管理器在发生错误时会引发一个异常。 在其他情况下,如果 *path* 已被指定并且无法创建,则只会发出一个警告。"
859861
860862#: ../../library/test.rst:734
861863msgid ""
@@ -893,10 +895,11 @@ msgid ""
893895"an error is raised. Otherwise, only a warning is raised and the original "
894896"CWD is used."
895897msgstr ""
898+ "如果 *quiet* 为 ``False`` 并且无法创建或修改 CWD,则会引发一个错误。 在其他情况下,只会引发一个警告并使用原始 CWD。"
896899
897900#: ../../library/test.rst:759
898901msgid "A context manager that temporarily sets the process umask."
899- msgstr ""
902+ msgstr "一个临时性地设置进程掩码的上下文管理器。 "
900903
901904#: ../../library/test.rst:764
902905msgid ""
0 commit comments