Skip to content

Commit 1c26b1c

Browse files
authored
TST: Suppress http logs in tests (#38096)
1 parent e8085a7 commit 1c26b1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/io/conftest.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
import os
23
import shlex
34
import subprocess
@@ -49,6 +50,8 @@ def s3_base(worker_id):
4950
pytest.importorskip("s3fs")
5051
pytest.importorskip("boto3")
5152
requests = pytest.importorskip("requests")
53+
# GH 38090: Suppress http logs in tests by moto_server
54+
logging.getLogger("werkzeug").disabled = True
5255

5356
with tm.ensure_safe_environment_variables():
5457
# temporary workaround as moto fails for botocore >= 1.11 otherwise,

0 commit comments

Comments
 (0)