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

Skip to content

Commit ae54552

Browse files
[po] auto sync
1 parent 10b91ce commit ae54552

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

library/unittest.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2228,18 +2228,18 @@ msgstr "向测试套件添加 :class:`TestCase` 或 :class:`TestSuite`。"
22282228
msgid ""
22292229
"Add all the tests from an iterable of :class:`TestCase` and "
22302230
":class:`TestSuite` instances to this test suite."
2231-
msgstr ""
2231+
msgstr "将来自包含 :class:`TestCase` 和 :class:`TestSuite` 实例的可迭代对象的所有测试添加到这个测试套件。"
22322232

22332233
#: ../../library/unittest.rst:1647
22342234
msgid ""
22352235
"This is equivalent to iterating over *tests*, calling :meth:`addTest` for "
22362236
"each element."
2237-
msgstr ""
2237+
msgstr "这等价于对 *tests* 进行迭代,并为其中的每个元素调用 :meth:`addTest`。"
22382238

22392239
#: ../../library/unittest.rst:1650
22402240
msgid ""
22412241
":class:`TestSuite` shares the following methods with :class:`TestCase`:"
2242-
msgstr ""
2242+
msgstr ":class:`TestSuite` 与 :class:`TestCase` 共享下列方法:"
22432243

22442244
#: ../../library/unittest.rst:1655
22452245
msgid ""
@@ -2248,13 +2248,15 @@ msgid ""
22482248
":meth:`TestCase.run`, :meth:`TestSuite.run` requires the result object to be"
22492249
" passed in."
22502250
msgstr ""
2251+
"运行与这个套件相关联的测试,将结果收集到作为 *result* 传入的测试结果对象中。 请注意与 :meth:`TestCase.run` "
2252+
"的区别,:meth:`TestSuite.run` 必须传入结果对象。"
22512253

22522254
#: ../../library/unittest.rst:1663
22532255
msgid ""
22542256
"Run the tests associated with this suite without collecting the result. This"
22552257
" allows exceptions raised by the test to be propagated to the caller and can"
22562258
" be used to support running tests under a debugger."
2257-
msgstr ""
2259+
msgstr "运行与这个套件相关联的测试而不收集结果。 这允许测试所引发的异常被传递给调用方并可被用于支持在调试器中运行测试。"
22582260

22592261
#: ../../library/unittest.rst:1670
22602262
msgid ""

0 commit comments

Comments
 (0)