@@ -2353,7 +2353,7 @@ msgstr ""
23532353
23542354#: ../../library/unittest.rst:1724
23552355msgid "Loading and running tests"
2356- msgstr ""
2356+ msgstr "加载和运行测试 "
23572357
23582358#: ../../library/unittest.rst:1728
23592359msgid ""
@@ -2363,10 +2363,13 @@ msgid ""
23632363":data:`unittest.defaultTestLoader`. Using a subclass or instance, however, "
23642364"allows customization of some configurable properties."
23652365msgstr ""
2366+ ":class:`TestLoader` 类可被用来基于类和模块创建测试套件。 通常,没有必要创建该类的实例;:mod:`unittest` "
2367+ "模块提供了一个可作为 :data:`unittest.defaultTestLoader` 共享的实例。 "
2368+ "但是,使用子类或实例允许对某些配置属性进行定制。"
23662369
23672370#: ../../library/unittest.rst:1734
23682371msgid ":class:`TestLoader` objects have the following attributes:"
2369- msgstr ""
2372+ msgstr ":class:`TestLoader` 对象具有下列属性: "
23702373
23712374#: ../../library/unittest.rst:1739
23722375msgid ""
@@ -2375,10 +2378,12 @@ msgid ""
23752378"method raising an exception to the caller. Non-fatal errors are also "
23762379"indicated by a synthetic test that will raise the original error when run."
23772380msgstr ""
2381+ "包含在加载测试期间遇到的非致命错误的列表。 在任何时候都不会被加载方重置。 致命错误是通过相关方法引发一个异常来向调用方发出信号的。 "
2382+ "非致命错误也是由一个将在运行时引发原始错误的合成测试来提示的。"
23782383
23792384#: ../../library/unittest.rst:1748
23802385msgid ":class:`TestLoader` objects have the following methods:"
2381- msgstr ""
2386+ msgstr ":class:`TestLoader` 对象具有下列方法: "
23822387
23832388#: ../../library/unittest.rst:1753
23842389msgid ""
0 commit comments