Skip to content

WIP: CI: Supress urllib3 tests in pytest #38506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
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
4 changes: 3 additions & 1 deletion pandas/tests/io/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def s3_base(worker_id):
pytest.importorskip("s3fs")
pytest.importorskip("boto3")
requests = pytest.importorskip("requests")
logging.getLogger("requests").disabled = True

with tm.ensure_safe_environment_variables():
# temporary workaround as moto fails for botocore >= 1.11 otherwise,
Expand Down Expand Up @@ -111,6 +110,9 @@ def s3_resource(s3_base, tips_file, jsonl_file, feather_file):
import boto3
import s3fs

for logging_key in logging.Logger.manager.loggerDict:
logging.getLogger(logging_key).disabled = True

test_s3_files = [
("tips#1.csv", tips_file),
("tips.csv", tips_file),
Expand Down