File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3248,6 +3248,8 @@ msgid ""
32483248"then you must call up to them yourself. The implementations in "
32493249":class:`TestCase` are empty."
32503250msgstr ""
3251+ "如果你希望在基类上的 ``setUpClass`` 和 ``tearDownClass`` 被调用则你必须自己云调用它们。 在 "
3252+ ":class:`TestCase` 中的实现是空的。"
32513253
32523254#: ../../library/unittest.rst:2372
32533255msgid ""
@@ -3257,14 +3259,17 @@ msgid ""
32573259":exc:`SkipTest` exception then the class will be reported as having been "
32583260"skipped instead of as an error."
32593261msgstr ""
3262+ "如果在 ``setUpClass`` 中引发了异常则类中的测试将不会被运行并且 ``tearDownClass`` 也不会被运行。 跳过的类中的 "
3263+ "``setUpClass`` 或 ``tearDownClass`` 将不会被运行。 如果引发的异常是 :exc:`SkipTest` "
3264+ "异常则类将被报告为已跳过而非发生错误。"
32603265
32613266#: ../../library/unittest.rst:2380
32623267msgid "setUpModule and tearDownModule"
3263- msgstr ""
3268+ msgstr "setUpModule 和 tearDownModule "
32643269
32653270#: ../../library/unittest.rst:2382
32663271msgid "These should be implemented as functions::"
3267- msgstr ""
3272+ msgstr "这些应当被实现为函数:: "
32683273
32693274#: ../../library/unittest.rst:2390
32703275msgid ""
You can’t perform that action at this time.
0 commit comments