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

Skip to content

Commit d98be6c

Browse files
committed
docs(translate-mock): mock page翻譯
fix format
1 parent e31b5e8 commit d98be6c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

library/unittest.mock.po

Lines changed: 6 additions & 6 deletions
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-22 14:58+0800\n"
11+
"PO-Revision-Date: 2023-08-22 15:44+0800\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -33,8 +33,8 @@ msgid ""
3333
"replace parts of your system under test with mock objects and make "
3434
"assertions about how they have been used."
3535
msgstr ""
36-
":mod:`unittest.mock`\\ 在Python中是一個用於進行測試的函式庫。 它允許你用模擬"
37-
"物件 (mock object) 在測試中替換部分系統,並判定它們是如何被使用的。"
36+
":mod:`unittest.mock`\\ 在 Python 中是一個用於進行測試的函式庫。 它允許你用模"
37+
"擬物件 (mock object) 在測試中替換部分系統,並判定它們是如何被使用的。"
3838

3939
#: ../../library/unittest.mock.rst:21
4040
msgid ""
@@ -60,7 +60,7 @@ msgstr ""
6060
"此外,mock 還提供了一個\\ :func:`patch`\\ 裝飾器,用於 patching 測試範圍內對 "
6161
"module(模組)以及 class(類別)級別的屬性,以及用於建立唯一對象的\\ :const:"
6262
"`sentinel`\\ 。有關如何使用\\ :class:`Mock`\\\\ :class:`MagicMock`\\\\ :"
63-
"func:`patch`\\ 的一些示例,請參閱\\ `快速導引 <quick guide_>`_。"
63+
"func:`patch`\\ 的一些範例,請參閱\\ `快速導引 <quick guide_>`_。"
6464

6565
#: ../../library/unittest.mock.rst:33
6666
msgid ""
@@ -77,8 +77,8 @@ msgid ""
7777
"There is a backport of :mod:`unittest.mock` for earlier versions of Python, "
7878
"available as `mock on PyPI <https://pypi.org/project/mock>`_."
7979
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>`_。"
8282

8383
#: ../../library/unittest.mock.rst:42
8484
msgid "Quick Guide"

0 commit comments

Comments
 (0)