8000 docs(translate-mock): mock page翻譯 · python/python-docs-zh-tw@45fb0e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 45fb0e2

Browse files
committed
docs(translate-mock): mock page翻譯
翻譯rst:60
1 parent 5d81da2 commit 45fb0e2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

library/unittest.mock.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2023-07-22 00:04+0000\n"
11-
"PO-Revision-Date: 2023-08-15 22:19+0800\n"
11+
"PO-Revision-Date: 2023-08-16 16:55+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -91,6 +91,9 @@ msgid ""
9191
"can configure them, to specify return values or limit what attributes are "
9292
"available, and then make assertions about how they have been used:"
9393
msgstr ""
94+
":class:`Mock` 和 :class:`MagicMock` 物件在你存取它們時創建所有屬性和method"
95+
"(方法),並儲存它們如何被使用的詳細訊息。你可以配置它們,以指定返回值或限制"
96+
"可用的屬性,然後對它們的使用方式做出斷言:"
9497

9598
#: ../../library/unittest.mock.rst:72
9699
msgid ""

0 commit comments

Comments
 (0)
0