@@ -540,11 +540,11 @@ msgstr "设置 *subdir* 指明要用来查找文件的相对路径而不是直
540540#: ../../library/test.rst:469
541541msgid ""
542542"Create an empty file with *filename*. If it already exists, truncate it."
543- msgstr ""
543+ msgstr "创建一个名为 *filename* 的空文件。 如果文件已存在,则清空其内容。 "
544544
545545#: ../../library/test.rst:474
546546msgid "Count the number of open file descriptors."
547- msgstr ""
547+ msgstr "统计打开的文件描述符数量。 "
548548
549549#: ../../library/test.rst:479
550550msgid "Match *test* to patterns set in :func:`set_match_tests`."
@@ -774,7 +774,7 @@ msgstr ""
774774msgid ""
775775"A context manager that temporarily creates a new directory and changes the "
776776"current working directory (CWD)."
777- msgstr ""
777+ msgstr "一个临时性地创建新目录并改变当前工作目录(CWD)的上下文管理器。 "
778778
779779#: ../../library/test.rst:692
780780msgid ""
@@ -783,6 +783,8 @@ msgid ""
783783" If *name* is ``None``, the temporary directory is created using "
784784":func:`tempfile.mkdtemp`."
785785msgstr ""
786+ "临时性地改变当前工作目录之前此上下文管理器会在当前目录下创建一个名为 *name* 的临时目录。 如果 *name* 为 ``None``,则会使用 "
787+ ":func:`tempfile.mkdtemp` 创建临时目录。"
786788
787789#: ../../library/test.rst:697
788790msgid ""
@@ -900,11 +902,11 @@ msgstr "如果操作系统支持 xattr 支返回 ``True``,否则返回 ``False
900902
901903#: ../../library/test.rst:812
902904msgid "A decorator for running tests that require support for symbolic links."
903- msgstr ""
905+ msgstr "一个用于运行需要符号链接支持的测试的装饰器。 "
904906
905907#: ../../library/test.rst:817
906908msgid "A decorator for running tests that require support for xattr."
907- msgstr ""
909+ msgstr "一个用于运行需要 xattr 支持的测试的装饰器。 "
908910
909911#: ../../library/test.rst:822
910912msgid ""
@@ -1048,7 +1050,7 @@ msgstr ""
10481050msgid ""
10491051"Create an invalid file descriptor by opening and closing a temporary file, "
10501052"and returning its descriptor."
1051- msgstr ""
1053+ msgstr "通过打开并关闭临时文件来创建一个无效的文件描述符,并返回其描述器。 "
10521054
10531055#: ../../library/test.rst:958
10541056msgid ""
@@ -1318,7 +1320,7 @@ msgstr ""
13181320#: ../../library/test.rst:1202
13191321msgid ""
13201322"Return ``True`` if the file system for *directory* is case-insensitive."
1321- msgstr ""
1323+ msgstr "如果 *directory* 的文件系统对大小写敏感则返回 ``True``。 "
13221324
13231325#: ../../library/test.rst:1207
13241326msgid ""
0 commit comments