@@ -892,32 +892,38 @@ msgstr "如果 *any_order* 为真值则等待可以是任意顺序的,但它
892892
893893#: ../../library/unittest.mock.rst:1037
894894msgid "Assert that the mock was never awaited."
895- msgstr ""
895+ msgstr "断言 mock 从未被等待过。 "
896896
897897#: ../../library/unittest.mock.rst:1044
898898msgid ""
899899"See :func:`Mock.reset_mock`. Also sets :attr:`await_count` to 0, "
900900":attr:`await_args` to None, and clears the :attr:`await_args_list`."
901901msgstr ""
902+ "参见 :func:`Mock.reset_mock`。 还会将 :attr:`await_count` 设为 0,将 "
903+ ":attr:`await_args` 设为 None,并清空 :attr:`await_args_list`。"
902904
903905#: ../../library/unittest.mock.rst:1049
904906msgid ""
905907"An integer keeping track of how many times the mock object has been awaited."
906- msgstr ""
908+ msgstr "一个追踪 mock 对象已被等待多少次的整数值。 "
907909
908910#: ../../library/unittest.mock.rst:1064
909911msgid ""
910912"This is either ``None`` (if the mock hasn’t been awaited), or the arguments "
911913"that the mock was last awaited with. Functions the same as "
912914":attr:`Mock.call_args`."
913915msgstr ""
916+ "这可能为 ``None`` (如果 mock 从未被等待),或为该 mock 上一次被等待所附带的参数。 其功能与 "
917+ ":attr:`Mock.call_args` 相同。"
914918
915919#: ../../library/unittest.mock.rst:1082
916920msgid ""
917921"This is a list of all the awaits made to the mock object in sequence (so the"
918922" length of the list is the number of times it has been awaited). Before any "
919923"awaits have been made it is an empty list."
920924msgstr ""
925+ "这是由对 mock 对象按顺序执行的所有等待组成的列表(因此该列表的长度即它被等待的次数)。 在有任何等待被执行之前它将为一个空列表。Before "
926+ "any awaits have been made it is an empty list."
921927
922928#: ../../library/unittest.mock.rst:1101
923929msgid "Calling"
0 commit comments