@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2023-07-22 00:04+0000\n "
11
- "PO-Revision-Date : 2023-08-22 14:58 +0800\n "
11
+ "PO-Revision-Date : 2023-08-22 15:44 +0800\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -33,8 +33,8 @@ msgid ""
33
33
"replace parts of your system under test with mock objects and make "
34
34
"assertions about how they have been used."
35
35
msgstr ""
36
- ":mod:`unittest.mock`\\ 在Python中是一個用於進行測試的函式庫。 它允許你用模擬 "
37
- "物件 (mock object) 在測試中替換部分系統,並判定它們是如何被使用的。"
36
+ ":mod:`unittest.mock`\\ 在 Python 中是一個用於進行測試的函式庫。 它允許你用模 "
37
+ "擬物件 (mock object) 在測試中替換部分系統,並判定它們是如何被使用的。"
38
38
39
39
#: ../../library/unittest.mock.rst:21
40
40
msgid ""
@@ -60,7 +60,7 @@ msgstr ""
60
60
"此外,mock 還提供了一個\\ :func:`patch`\\ 裝飾器,用於 patching 測試範圍內對 "
61
61
"module(模組)以及 class(類別)級別的屬性,以及用於建立唯一對象的\\ :const:"
62
62
"`sentinel`\\ 。有關如何使用\\ :class:`Mock`\\ 、\\ :class:`MagicMock`\\ 和\\ :"
63
- "func:`patch`\\ 的一些示例 ,請參閱\\ `快速導引 <quick guide_>`_。"
63
+ "func:`patch`\\ 的一些範例 ,請參閱\\ `快速導引 <quick guide_>`_。"
64
64
65
65
#: ../../library/unittest.mock.rst:33
66
66
msgid ""
@@ -77,8 +77,8 @@ msgid ""
77
77
"There is a backport of :mod:`unittest.mock` for earlier versions of Python, "
78
78
"available as `mock on PyPI <https://pypi.org/project/mock>`_."
79
79
msgstr ""
80
- "對於早期版本的 Python,有一個backport (向後移植的)\\ :mod:`unittest.mock` \\ "
81
- "可以使用,\\ `從 PyPI 下載 mock <https://pypi.org/project/mock>`_。"
80
+ "對於早期版本的 Python,有一個 backport (向後移植的)\\ :mod:`unittest."
81
+ "mock` \\ 可以使用,\\ `從 PyPI 下載 mock <https://pypi.org/project/mock>`_。"
82
82
83
83
#: ../../library/unittest.mock.rst:42
84
84
msgid "Quick Guide"
0 commit comments