Files
requests/tests/__init__.py
T
2022-04-29 13:16:58 -06:00

11 lines
329 B
Python

"""Requests test package initialisation."""
import warnings
from urllib3.exceptions import SNIMissingWarning
# urllib3 sets SNIMissingWarning to only go off once,
# while this test suite requires it to always fire
# so that it occurs during test_requests.test_https_warnings
warnings.simplefilter("always", SNIMissingWarning)