Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ea9469

Browse files
[po] auto sync
1 parent 4d762d8 commit 3ea9469

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

library/unittest.mock.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,32 +892,38 @@ msgstr "如果 *any_order* 为真值则等待可以是任意顺序的,但它
892892

893893
#: ../../library/unittest.mock.rst:1037
894894
msgid "Assert that the mock was never awaited."
895-
msgstr ""
895+
msgstr "断言 mock 从未被等待过。"
896896

897897
#: ../../library/unittest.mock.rst:1044
898898
msgid ""
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`."
901901
msgstr ""
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
904906
msgid ""
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
909911
msgid ""
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`."
913915
msgstr ""
916+
"这可能为 ``None`` (如果 mock 从未被等待),或为该 mock 上一次被等待所附带的参数。 其功能与 "
917+
":attr:`Mock.call_args` 相同。"
914918

915919
#: ../../library/unittest.mock.rst:1082
916920
msgid ""
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."
920924
msgstr ""
925+
"这是由对 mock 对象按顺序执行的所有等待组成的列表(因此该列表的长度即它被等待的次数)。 在有任何等待被执行之前它将为一个空列表。Before "
926+
"any awaits have been made it is an empty list."
921927

922928
#: ../../library/unittest.mock.rst:1101
923929
msgid "Calling"

0 commit comments

Comments
 (0)