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

Skip to content

Commit 9415074

Browse files
[po] auto sync
1 parent f161531 commit 9415074

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

library/unittest.po

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2204,31 +2204,33 @@ msgstr ":meth:`.assertRaisesRegex`"
22042204

22052205
#: ../../library/unittest.rst:1625
22062206
msgid "assertRaisesRegexp"
2207-
msgstr ""
2207+
msgstr "assertRaisesRegexp"
22082208

22092209
#: ../../library/unittest.rst:1628
22102210
msgid "The fail* aliases listed in the second column have been deprecated."
2211-
msgstr ""
2211+
msgstr "在第二列中列出的 fail* 别名已经被弃用。"
22122212

22132213
#: ../../library/unittest.rst:1630
22142214
msgid "The assert* aliases listed in the third column have been deprecated."
2215-
msgstr ""
2215+
msgstr "在第三列中列出的 assert* 别名已经被弃用。"
22162216

22172217
#: ../../library/unittest.rst:1632
22182218
msgid ""
22192219
"``assertRegexpMatches`` and ``assertRaisesRegexp`` have been renamed to "
22202220
":meth:`.assertRegex` and :meth:`.assertRaisesRegex`."
22212221
msgstr ""
2222+
"``assertRegexpMatches`` 和 ``assertRaisesRegexp`` 已经被重命名为 "
2223+
":meth:`.assertRegex` 和 :meth:`.assertRaisesRegex`。"
22222224

22232225
#: ../../library/unittest.rst:1635
22242226
msgid ""
22252227
"The ``assertNotRegexpMatches`` name is deprecated in favor of "
22262228
":meth:`.assertNotRegex`."
2227-
msgstr ""
2229+
msgstr "``assertNotRegexpMatches`` 这个名称已被弃用并应改用 :meth:`.assertNotRegex`。"
22282230

22292231
#: ../../library/unittest.rst:1641
22302232
msgid "Grouping tests"
2231-
msgstr ""
2233+
msgstr "分组测试"
22322234

22332235
#: ../../library/unittest.rst:1645
22342236
msgid ""
@@ -2237,6 +2239,8 @@ msgid ""
22372239
"it to be run as any other test case. Running a :class:`TestSuite` instance "
22382240
"is the same as iterating over the suite, running each test individually."
22392241
msgstr ""
2242+
"这个类代表对单独测试用例和测试套件的聚合。 这个类提供给测试运行方所需的接口以允许其像任何其他测试用例一样运行。 运行一个 "
2243+
":class:`TestSuite` 实例与对套件执行迭代来逐一运行每个测试的效果相同。"
22402244

22412245
#: ../../library/unittest.rst:1650
22422246
msgid ""
@@ -2245,6 +2249,8 @@ msgid ""
22452249
" methods are provided to add test cases and suites to the collection later "
22462250
"on."
22472251
msgstr ""
2252+
"如果给出了 *tests*,则它必须是一个包含单独测试用例的可迭代对象或是将被用于初始构建测试套件的其他测试套件。 "
2253+
"还有一些附加的方法会被提供用来在随后向测试集添加测试用例和测试套件。"
22482254

22492255
#: ../../library/unittest.rst:1654
22502256
msgid ""
@@ -2254,10 +2260,12 @@ msgid ""
22542260
"additional methods are available to add tests to :class:`TestSuite` "
22552261
"instances:"
22562262
msgstr ""
2263+
":class:`TestSuite` 对象的行为与 :class:`TestCase` 对象很相似,区别在于它们并不会真正实现一个测试。 "
2264+
"它们会被用来将测试聚合为多个要同时运行的测试分组。 还有一些附加的方法会被用来向 :class:`TestSuite` 实例添加测试:"
22572265

22582266
#: ../../library/unittest.rst:1662
22592267
msgid "Add a :class:`TestCase` or :class:`TestSuite` to the suite."
2260-
msgstr ""
2268+
msgstr "向测试套件添加 :class:`TestCase` 或 :class:`TestSuite`。"
22612269

22622270
#: ../../library/unittest.rst:1667
22632271
msgid ""

0 commit comments

Comments
 (0)