Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork219
Translate mock-examples#827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
library/unittest.mock-examples.po Outdated
| "could then cause problems if you do assertions that rely on object identity " | ||
| "for equality." | ||
| msgstr"" | ||
| "一種可能是讓 mock 複製你傳入的引數。如果你為了相等性執行依賴於物件識別性的斷" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"一種可能是讓 mock 複製你傳入的引數。如果你進行的斷言依賴於物件身份來確定相等性,這就可能導致問題。"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
順便問一下現在 identity 有定型的翻譯嗎~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
我 identity 先翻 識別性
Uh oh!
There was an error while loading.Please reload this page.
cschan1828 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Initial review completed.
library/unittest.mock-examples.po Outdated
| "*spec* (or *spec_set*) argument so that the ``MagicMock`` created only has " | ||
| "dictionary magic methods available:" | ||
| msgstr"" | ||
| "*第三個*/ 選擇是使用 ``MagicMock``,但傳入 ``dict`` 作為 *spec*(或" |
cschan1828Mar 25, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
這邊應該是用\\?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
耍笨了,晚點來改
in 1019: 原文沒有不,但下面的範例沒有使用magicmock,我覺得這樣翻會比較順
cschan1828 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM, Approval.
No description provided.