Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9e56c73

Browse filesBrowse files
committed
Apply suggestions from code review
self review
1 parent 49fabb3 commit 9e56c73
Copy full SHA for 9e56c73

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎library/unittest.mock-examples.po

Copy file name to clipboardExpand all lines: library/unittest.mock-examples.po
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ msgid ""
11981198
"As you can see the ``import fooble`` succeeds, but on exit there is no "
11991199
"'fooble' left in :data:`sys.modules`."
12001200
msgstr ""
1201-
"如你所建,``import fooble`` 成功了,但在離開之後,:data:`sys.modules` 中就沒"
1201+
"如你所見,``import fooble`` 成功了,但在離開之後,:data:`sys.modules` 中就沒"
12021202
"有 'fooble' 了。"
12031203

12041204
#: ../../library/unittest.mock-examples.rst:1169
@@ -1261,7 +1261,7 @@ msgid ""
12611261
"data:`call` object). If that sequence of calls are in :attr:`~Mock."
12621262
"mock_calls` then the assert succeeds."
12631263
msgstr ""
1264-
"如果進行了多次呼叫,但你只對其中特定呼叫的序列感興趣,則可以是使用 :meth:"
1264+
"如果進行了多次呼叫,但你只對其中特定呼叫的序列感興趣,則可以使用 :meth:"
12651265
"`~Mock.assert_has_calls` 方法。這需要一個呼叫串列(使用 :data:`call` 物件建"
12661266
"構)。如果該呼叫序列位於 :attr:`~Mock.mock_calls` 中,則斷言成功。"
12671267

@@ -1280,7 +1280,7 @@ msgid ""
12801280
"about the order. In this case you can pass ``any_order=True`` to "
12811281
"``assert_has_calls``:"
12821282
msgstr ""
1283-
"有時,可能會對一個 mock 進行多次呼叫,而你只對斷言其中\\ *某些*\\ 感興趣。你"
1283+
"有時可能會對一個 mock 進行多次呼叫,而你只對斷言其中\\ *某些*\\ 呼叫感興趣。你"
12841284
"甚至可能不關心順序。在這種情況下,你可以將 ``any_order=True`` 傳遞給 "
12851285
"``assert_has_calls``:"
12861286

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.