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

Skip to content

Commit 850ca50

Browse files
[po] auto sync
1 parent 97b7acd commit 850ca50

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
@@ -631,32 +631,38 @@ msgid ""
631631
"unpacked as tuples to get at the individual arguments. See :ref:`calls as "
632632
"tuples <calls-as-tuples>`."
633633
msgstr ""
634+
":attr:`call_args_list` 的成员均为 :data:`call` 对象。 它们可作为元组被解包以获得单个参数。 参见 "
635+
":ref:`作为元组的 call <calls-as-tuples>`。"
634636

635637
#: ../../library/unittest.mock.rst:679
636638
msgid ""
637639
"As well as tracking calls to themselves, mocks also track calls to methods "
638640
"and attributes, and *their* methods and attributes:"
639-
msgstr ""
641+
msgstr "除了会追踪对其自身的调用,mock 还会追踪对方法和属性,以及 *它们的* 方法和属性的访问:"
640642

641643
#: ../../library/unittest.mock.rst:690
642644
msgid ""
643645
"Members of :attr:`method_calls` are :data:`call` objects. These can be "
644646
"unpacked as tuples to get at the individual arguments. See :ref:`calls as "
645647
"tuples <calls-as-tuples>`."
646648
msgstr ""
649+
":attr:`method_calls` 的成员均为 :data:`call` 对象。 它们可以作为元组被解包以获得单个参数。 参见 "
650+
":ref:`作为元组的 call <calls-as-tuples>`."
647651

648652
#: ../../library/unittest.mock.rst:697
649653
msgid ""
650654
":attr:`mock_calls` records *all* calls to the mock object, its methods, "
651655
"magic methods *and* return value mocks."
652-
msgstr ""
656+
msgstr ":attr:`mock_calls` 会记录 *所有* 对 mock 对象、它的方法、魔术方法的调用 *以及* 返回值的 mock。"
653657

654658
#: ../../library/unittest.mock.rst:715
655659
msgid ""
656660
"Members of :attr:`mock_calls` are :data:`call` objects. These can be "
657661
"unpacked as tuples to get at the individual arguments. See :ref:`calls as "
658662
"tuples <calls-as-tuples>`."
659663
msgstr ""
664+
":attr:`mock_calls` 的成员均为 :data:`call` 对象。 它们可以作为元组被解包以获得单个参数。 参见 :ref:`作为元组的"
665+
" call <calls-as-tuples>`。"
660666

661667
#: ../../library/unittest.mock.rst:721
662668
msgid ""

0 commit comments

Comments
 (0)