diff --git a/pandas/tests/io/conftest.py b/pandas/tests/io/conftest.py index e9f228b5973b5..bcc666a88e3be 100644 --- a/pandas/tests/io/conftest.py +++ b/pandas/tests/io/conftest.py @@ -1,3 +1,4 @@ +import logging import os import shlex import subprocess @@ -49,6 +50,8 @@ def s3_base(worker_id): pytest.importorskip("s3fs") pytest.importorskip("boto3") requests = pytest.importorskip("requests") + # GH 38090: Suppress http logs in tests by moto_server + logging.getLogger("werkzeug").disabled = True with tm.ensure_safe_environment_variables(): # temporary workaround as moto fails for botocore >= 1.11 otherwise,