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

Skip to content

Commit d5c0ebf

Browse files
[po] auto sync
1 parent 882194d commit d5c0ebf

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

library/unittest.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,25 +1763,27 @@ msgstr ""
17631763
msgid ""
17641764
"Fails if either of *first* or *second* does not have a "
17651765
":meth:`set.difference` method."
1766-
msgstr ""
1766+
msgstr "如果 *first* 或 *second* 没有 :meth:`set.difference` 方法则测试失败。"
17671767

17681768
#: ../../library/unittest.rst:1333
17691769
msgid ""
17701770
"Test that two dictionaries are equal. If not, an error message is "
17711771
"constructed that shows the differences in the dictionaries. This method will"
17721772
" be used by default to compare dictionaries in calls to :meth:`assertEqual`."
17731773
msgstr ""
1774+
"测试两个字典是否相等。 如果不相等,则会构造一个错误消息来显示两个字典的差异。 此方法会在对 :meth:`assertEqual` "
1775+
"的调用中默认被用来进行字典的比较。"
17741776

17751777
#: ../../library/unittest.rst:1344
17761778
msgid ""
17771779
"Finally the :class:`TestCase` provides the following methods and attributes:"
1778-
msgstr ""
1780+
msgstr "最后 :class:`TestCase` 还提供了以下的方法和属性:"
17791781

17801782
#: ../../library/unittest.rst:1349
17811783
msgid ""
17821784
"Signals a test failure unconditionally, with *msg* or ``None`` for the error"
17831785
" message."
1784-
msgstr ""
1786+
msgstr "无条件地发出测试失败消息,附带错误消息 *msg* 或 ``None``。"
17851787

17861788
#: ../../library/unittest.rst:1355
17871789
msgid ""
@@ -1791,6 +1793,8 @@ msgid ""
17911793
"fair\" with the framework. The initial value of this attribute is "
17921794
":exc:`AssertionError`."
17931795
msgstr ""
1796+
"这个类属性给出测试方法所引发的异常。 如果某个测试框架需要使用专门的异常,并可能附带额外的信息,则必须子类化该类以便与框架“正常互动”。 "
1797+
"这个属性的初始值为 :exc:`AssertionError`。"
17941798

17951799
#: ../../library/unittest.rst:1364
17961800
msgid ""

0 commit comments

Comments
 (0)