Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0825a commit ba2b813Copy full SHA for ba2b813
1 file changed
library/unittest.po
@@ -1866,12 +1866,15 @@ msgid ""
1866
"(including all the sequence comparison methods that delegate to it), "
1867
":meth:`assertDictEqual` and :meth:`assertMultiLineEqual`."
1868
msgstr ""
1869
+"这个属性控制来自在测试失败时报告 diffs 的断言方法的 diffs 输出的最大长度。 它默认为 80*8 个字符。 这个属性所影响的断言方法有 "
1870
+":meth:`assertSequenceEqual` (包括所有委托给它的序列比较方法), :meth:`assertDictEqual` 以及 "
1871
+":meth:`assertMultiLineEqual`。"
1872
1873
#: ../../library/unittest.rst:1409
1874
msgid ""
1875
"Setting ``maxDiff`` to ``None`` means that there is no maximum length of "
1876
"diffs."
-msgstr ""
1877
+msgstr "将 ``maxDiff`` 设为 ``None`` 表示不限制 diffs 的最大长度。"
1878
1879
#: ../../library/unittest.rst:1415
1880
0 commit comments