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

Skip to content

Commit 60806f4

Browse files
[po] auto sync
1 parent b1cd67e commit 60806f4

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

library/unittest.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2001,18 +2001,20 @@ msgid ""
20012001
":meth:`addClassCleanup`. If you need cleanup functions to be called *prior* "
20022002
"to :meth:`tearDownClass` then you can call :meth:`doClassCleanups` yourself."
20032003
msgstr ""
2004+
"它将负责访问由 :meth:`addClassCleanup` 添加的所有清理函数。 如果你需要在 :meth:`tearDownClass` *之前*"
2005+
" 调用清理函数则可以自行调用 :meth:`doClassCleanups`。"
20042006

20052007
#: ../../library/unittest.rst:1509
20062008
msgid ""
20072009
":meth:`doClassCleanups` pops methods off the stack of cleanup functions one "
20082010
"at a time, so it can be called at any time."
2009-
msgstr ""
2011+
msgstr ":meth:`doClassCleanups` 每次会弹出清理函数栈中的一个方法,因此它在任何时候被调用。"
20102012

20112013
#: ../../library/unittest.rst:1517
20122014
msgid ""
20132015
"This class provides an API similar to :class:`TestCase` and also accepts "
20142016
"coroutines as test functions."
2015-
msgstr ""
2017+
msgstr "这个类提供了与 :class:`TestCase` 类似的 API 并也接受协程作为测试函数。"
20162018

20172019
#: ../../library/unittest.rst:1524
20182020
msgid ""
@@ -2022,6 +2024,9 @@ msgid ""
20222024
" this method will be considered an error rather than a test failure. The "
20232025
"default implementation does nothing."
20242026
msgstr ""
2027+
"为测试预备而调用的方法。 此方法会在 :meth:`setUp` 之后被调用。 此方法将在调用测试方法之前立即被调用;除了 "
2028+
":exc:`AssertionError` 或 :exc:`SkipTest`,此方法所引发的任何异常都将被视为错误而非测试失败。 "
2029+
"默认的实现将不做任何事情。"
20252030

20262031
#: ../../library/unittest.rst:1532
20272032
msgid ""

0 commit comments

Comments
 (0)