File: //usr/local/lib/python3.10/dist-packages/sqlalchemy/testing/__pycache__/warnings.cpython-310.pyc
o
���g
� @ sn d dl mZ d dlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z d d
� Z
dd� Zddd�ZdS )� )�annotationsN� )�
assertions� )�exc)�SATestSuiteWarning)�_warnings_warnc C s t | td� d S )N��category)r r )�message� r �F/usr/local/lib/python3.10/dist-packages/sqlalchemy/testing/warnings.py�warn_test_suite s r c C s$ t jdtjd� t jdtjd� dS )a hook for setting up warnings filters.
SQLAlchemy-specific classes must only be here and not in pytest config,
as we need to delay importing SQLAlchemy until conftest.py has been
processed.
NOTE: filters on subclasses of DeprecationWarning or
PendingDeprecationWarning have no effect if added here, since pytest
will add at each test the following filters
``always::PendingDeprecationWarning`` and ``always::DeprecationWarning``
that will take precedence over any added here.
�errorr �alwaysN)�warnings�filterwarningsr � SAWarningr r r r r
�
setup_filters s r Fc C s<