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

Skip to content

Commit c169a44

Browse files
[po] auto sync
1 parent 6e00c80 commit c169a44

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

library/test.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,10 @@ msgid ""
743743
"specified filters the test fails. To disable the first of these checks, set"
744744
" *quiet* to ``True``."
745745
msgstr ""
746+
"``check_warnings`` 接受 ``(\"message regexp\", WarningCategory)`` 形式的 2 "
747+
"元组作为位置参数。 如果提供了一个或多个 *filters*,或者如果可选的关键字参数 *quiet* 为 "
748+
"``False``,则它会检查确认警告是符合预期的:每个已指定的过滤器必须匹配至少一个被包围的代码或测试失败时引发的警告,并且如果有任何未能匹配已指定过滤器的警告被引发则测试将失败。"
749+
" 要禁用这些检查中的第一项,请将 *quiet* 设为 ``True``。"
746750

747751
#: ../../library/test.rst:610
748752
msgid "If no arguments are specified, it defaults to::"

0 commit comments

Comments
 (0)