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

Skip to content

Commit 33a7264

Browse files
[po] auto sync
1 parent f5e057b commit 33a7264

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
@@ -635,6 +635,10 @@ msgid ""
635635
"specified filters the test fails. To disable the first of these checks, set"
636636
" *quiet* to ``True``."
637637
msgstr ""
638+
"``check_warnings`` 接受 ``(\"message regexp\", WarningCategory)`` 形式的 2 "
639+
"元组作为位置参数。 如果提供了一个或多个 *filters*,或者如果可选的关键字参数 *quiet* 为 "
640+
"``False``,则它会检查确认警告是符合预期的:每个已指定的过滤器必须匹配至少一个被包围的代码或测试失败时引发的警告,并且如果有任何未能匹配已指定过滤器的警告被引发则测试将失败。"
641+
" 要禁用这些检查中的第一项,请将 *quiet* 设为 ``True``。"
638642

639643
#: ../../library/test.rst:548
640644
msgid "If no arguments are specified, it defaults to::"

0 commit comments

Comments
 (0)