@@ -629,12 +629,17 @@ msgid ""
629629"``None``. *optionflags* is passed as ``optionflags`` to "
630630":func:`doctest.testmod`."
631631msgstr ""
632+ "如果 *verbosity* 为 ``None``,:func:`doctest.testmod` 运行时的消息详细程度将设为 "
633+ ":data:`verbose`。 否则,运行时的消息详细程度将设为 ``None``。 *optionflags* 将作为 "
634+ "``optionflags`` 传给 :func:`doctest.testmod`。"
632635
633636#: ../../library/test.rst:487
634637msgid ""
635638"Set the :func:`sys.setswitchinterval` to the given *interval*. Defines a "
636639"minimum interval for Android systems to prevent the system from hanging."
637640msgstr ""
641+ "将 :func:`sys.setswitchinterval` 设为给定的 *interval*。 请为 Android "
642+ "系统定义一个最小间隔以防止系统挂起。"
638643
639644#: ../../library/test.rst:493
640645msgid ""
@@ -643,46 +648,49 @@ msgid ""
643648"returns ``True`` or ``False`` depending on the host platform. Example "
644649"usage::"
645650msgstr ""
651+ "使用此检测来保护 CPython 实现专属的测试或者仅在有这些参数保护的实现上运行它们。 此函数将根据主机系统平台的不同返回 ``True`` 或 "
652+ "``False``。 用法示例::"
646653
647654#: ../../library/test.rst:505
648655msgid ""
649656"Set the values for :data:`max_memuse` and :data:`real_max_memuse` for big "
650657"memory tests."
651- msgstr ""
658+ msgstr "针对大内存测试设置 :data:`max_memuse` 和 :data:`real_max_memuse` 的值。 "
652659
653660#: ../../library/test.rst:511
654661msgid ""
655662"Store the value from *stdout*. It is meant to hold the stdout at the time "
656663"the regrtest began."
657- msgstr ""
664+ msgstr "存放来自 *stdout* 的值。 它会在回归测试开始时处理 stdout。 "
658665
659666#: ../../library/test.rst:517
660667msgid ""
661668"Return the original stdout set by :func:`record_original_stdout` or "
662669"``sys.stdout`` if it's not set."
663670msgstr ""
671+ "返回 :func:`record_original_stdout` 所设置的原始 stdout 或者如果未设置则为 ``sys.stdout``。"
664672
665673#: ../../library/test.rst:523
666674msgid ""
667675"Return a list of command line arguments reproducing the current settings in "
668676"``sys.flags`` and ``sys.warnoptions``."
669- msgstr ""
677+ msgstr "返回在 ``sys.flags`` 和 ``sys.warnoptions`` 中重新产生当前设置的命令行参数列表。 "
670678
671679#: ../../library/test.rst:529
672680msgid ""
673681"Return a list of command line arguments reproducing the current optimization"
674682" settings in ``sys.flags``."
675- msgstr ""
683+ msgstr "返回在 ``sys.flags`` 中重新产生当前优化设置的命令行参数列表。 "
676684
677685#: ../../library/test.rst:537
678686msgid ""
679687"A context managers that temporarily replaces the named stream with "
680688":class:`io.StringIO` object."
681- msgstr ""
689+ msgstr "使用 :class:`io.StringIO` 对象临时替换指定流的上下文管理器。 "
682690
683691#: ../../library/test.rst:540
684692msgid "Example use with output streams::"
685- msgstr ""
693+ msgstr "使用输出流的示例:: "
686694
687695#: ../../library/test.rst:548
688696msgid "Example use with input stream::"
0 commit comments