Skip to content

Commit 18a3c17

Browse files
committed
fix: review fix
1 parent 98c866a commit 18a3c17

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

library/unittest.mock-examples.po

Lines changed: 7 additions & 7 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-09-09 00:03+0000\n"
11-
"PO-Revision-Date: 2024-03-16 15:00+0800\n"
11+
"PO-Revision-Date: 2024-03-25 20:52+0800\n"
1212
"Last-Translator: Liang-Bo Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -689,8 +689,8 @@ msgid ""
689689
"Calls to the date constructor are recorded in the ``mock_date`` attributes "
690690
"(``call_count`` and friends) which may also be useful for your tests."
691691
msgstr ""
692-
"對日期建構函式的呼叫被記錄在 ``mock_date`` 屬性(\\ ``call_count`` 和它的朋友"
693-
")中,這對你的測試也可能有用處。"
692+
"對日期建構函式的呼叫被記錄在 ``mock_date`` 屬性(\\ ``call_count`` 及其相關屬"
693+
")中,這對你的測試也可能有用處。"
694694

695695
#: ../../library/unittest.mock-examples.rst:637
696696
msgid ""
@@ -920,8 +920,8 @@ msgid ""
920920
"could then cause problems if you do assertions that rely on object identity "
921921
"for equality."
922922
msgstr ""
923-
"一種可能是讓 mock 複製你傳入的引數。如果你為了相等性執行依賴於物件識別性的斷"
924-
"言,這可能會導致問題。"
923+
"一種可能是讓 mock 複製你傳入的引數。如果你進行的斷言依賴於物件識別性來確定相"
924+
"等性,這就可能導致問題。"
925925

926926
#: ../../library/unittest.mock-examples.rst:862
927927
msgid ""
@@ -1057,8 +1057,8 @@ msgid ""
10571057
"*spec* (or *spec_set*) argument so that the ``MagicMock`` created only has "
10581058
"dictionary magic methods available:"
10591059
msgstr ""
1060-
"第三個選擇是使用 ``MagicMock``,但傳入 ``dict`` 作為 *spec*(或*spec_set*)引"
1061-
",以使被建立的 ``MagicMock`` 僅具有字典可用的魔術方法:"
1060+
"*第三個*/ 選擇是使用 ``MagicMock``,但傳入 ``dict`` 作為 *spec*(或"
1061+
"*spec_set*)引數,以使被建立的 ``MagicMock`` 僅具有字典可用的魔術方法:"
10621062

10631063
#: ../../library/unittest.mock-examples.rst:1034
10641064
msgid ""

0 commit comments

Comments
 (0)