Skip to content

Commit

Permalink
Use quiet=True by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Sep 28, 2023
1 parent cf0cfd0 commit dfda254
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def socket_setdefaulttimeout(timeout):


@contextlib.contextmanager
def catch_malformed_data_warning(quiet=False):
def catch_malformed_data_warning(quiet=True):
# This warning happens on macos and win, but does not always happen on linux.
with warnings_helper.check_warnings(
("received malformed or improperly-truncated ancillary data", RuntimeWarning),
quiet=quiet,
Expand Down

0 comments on commit dfda254

Please sign in to comment.