__init__.py
This file
Path
tests/__init__.py
14 lines · 469 bytes · Python
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 8812812 point at it.
Merge pull request #6519 from psf/dependabot/github_actions/actions/checkout-4.0.0Ian Stapleton Cordascobefore adoption8812812
lines 1–14why, one step back1"""Requests test package initialisation."""23import warnings45try:6 from urllib3.exceptions import SNIMissingWarning78 # urllib3 1.x sets SNIMissingWarning to only go off once,9 # while this test suite requires it to always fire10 # so that it occurs during test_requests.test_https_warnings11 warnings.simplefilter("always", SNIMissingWarning)12except ImportError:13 # urllib3 2.0 removed that warning and errors out instead14 SNIMissingWarning = None