File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -494,28 +494,29 @@ msgstr ""
494494msgid ""
495495"See :data:`FILTER_DIR` for what this filtering does, and how to switch it "
496496"off."
497- msgstr ""
497+ msgstr "请查看 :data:`FILTER_DIR` 了解此过滤做了什么,以及如何停用它。 "
498498
499499#: ../../library/unittest.mock.rst:485
500500msgid ""
501501"Create the child mocks for attributes and return value. By default child "
502502"mocks will be the same type as the parent. Subclasses of Mock may want to "
503503"override this to customize the way child mocks are made."
504504msgstr ""
505+ "创建针对属性和返回值的子 mock。 默认情况下子 mock 将为与其上级相同的类型。 Mock 的子类可能需要重载它来定制子 mock 的创建方式。"
505506
506507#: ../../library/unittest.mock.rst:490
507508msgid ""
508509"For non-callable mocks the callable variant will be used (rather than any "
509510"custom subclass)."
510- msgstr ""
511+ msgstr "对于非可调用的 mock 将会使用可调用的变化形式(而非不是任意的自定义子类)。 "
511512
512513#: ../../library/unittest.mock.rst:496
513514msgid "A boolean representing whether or not the mock object has been called:"
514- msgstr ""
515+ msgstr "一个表示 mock 对象是否已被调用的布尔值: "
515516
516517#: ../../library/unittest.mock.rst:507
517518msgid "An integer telling you how many times the mock object has been called:"
518- msgstr ""
519+ msgstr "一个告诉你 mock object 对象已被调用多少次的整数值: "
519520
520521#: ../../library/unittest.mock.rst:519
521522msgid "Set this to configure the value returned by calling the mock:"
You can’t perform that action at this time.
0 commit comments