Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_cmd_line
  • Loading branch information
vstinner committed Jun 28, 2023
commit 2a2370e1c3f533a898f8d5c2133fda170f5b9780
4 changes: 4 additions & 0 deletions Lib/test/test_cmd_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,10 @@ def test_xdev(self):
else:
expected_filters = ("default::Warning "
"default::DeprecationWarning "
"default::SoftDeprecationWarning "
"ignore::DeprecationWarning "
"ignore::PendingDeprecationWarning "
"ignore::SoftDeprecationWarning "
"ignore::ImportWarning "
"ignore::ResourceWarning")

Expand Down Expand Up @@ -768,8 +770,10 @@ def test_warnings_filter_precedence(self):
if not support.Py_DEBUG:
expected_filters += (" "
"default::DeprecationWarning "
"default::SoftDeprecationWarning "
"ignore::DeprecationWarning "
"ignore::PendingDeprecationWarning "
"ignore::SoftDeprecationWarning "
"ignore::ImportWarning "
"ignore::ResourceWarning")

Expand Down