Skip to content

Commit dfda254

Browse files
committed
Use quiet=True by default
1 parent cf0cfd0 commit dfda254

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_socket.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ def socket_setdefaulttimeout(timeout):
167167

168168

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

0 commit comments

Comments
 (0)