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

Skip to content

Commit b158b60

Browse files
[po] auto sync
1 parent 38580d6 commit b158b60

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

library/unittest.po

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,6 +1756,8 @@ msgid ""
17561756
"included in the error message. This method is used by default when comparing"
17571757
" strings with :meth:`assertEqual`."
17581758
msgstr ""
1759+
"测试多行字符串 *first* 是否与字符串 *second* 相等。 当不相等时将在错误消息中包括两个字符串之间差异的高亮显示。 此方法会在通过 "
1760+
":meth:`assertEqual` 进行字符串比较时默认被使用。"
17591761

17601762
#: ../../library/unittest.rst:1316
17611763
msgid ""
@@ -1764,12 +1766,16 @@ msgid ""
17641766
"raised. If the sequences are different an error message is constructed that"
17651767
" shows the difference between the two."
17661768
msgstr ""
1769+
"测试两个序列是否相等。 如果提供了 *seq_type*,则 *first* 和 *second* 都必须为 *seq_type* "
1770+
"的实例否则将引发失败。 如果两个序列不相等则会构造一个错误消息来显示两者之间的差异。"
17671771

17681772
#: ../../library/unittest.rst:1321
17691773
msgid ""
17701774
"This method is not called directly by :meth:`assertEqual`, but it's used to "
17711775
"implement :meth:`assertListEqual` and :meth:`assertTupleEqual`."
17721776
msgstr ""
1777+
"此方法不会被 :meth:`assertEqual` 直接调用,但它会被用于实现 :meth:`assertListEqual` 和 "
1778+
":meth:`assertTupleEqual`。"
17731779

17741780
#: ../../library/unittest.rst:1331
17751781
msgid ""
@@ -1779,13 +1785,17 @@ msgid ""
17791785
" are used by default when comparing lists or tuples with "
17801786
":meth:`assertEqual`."
17811787
msgstr ""
1788+
"测试两个列表或元组是否相等。 如果不相等,则会构造一个错误消息来显示两者之间的差异。 如果某个形参的类型不正确也会引发错误。 这些方法会在通过 "
1789+
":meth:`assertEqual` 进行列表或元组比较时默认被使用。"
17821790

17831791
#: ../../library/unittest.rst:1342
17841792
msgid ""
17851793
"Tests that two sets are equal. If not, an error message is constructed that"
17861794
" lists the differences between the sets. This method is used by default "
17871795
"when comparing sets or frozensets with :meth:`assertEqual`."
17881796
msgstr ""
1797+
"测试两个集合是否相等。 如果不相等,则会构造一个错误消息来列出两者之间的差异。 此方法会在通过 :meth:`assertEqual` "
1798+
"进行集合或冻结集合比较时默认被使用。"
17891799

17901800
#: ../../library/unittest.rst:1346
17911801
msgid ""

0 commit comments

Comments
 (0)