HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/alembic/testing/warnings.pyo
�
�M!Vc@@sWdZddlmZddlZddlmZddlZd�Ze	d�Z
dS(s�NOTE:  copied/adapted from SQLAlchemy master for backwards compatibility;
   this should be removable when Alembic targets SQLAlchemy 0.9.4.
i(tabsolute_importN(texccC@sFtjddtj�tjddtj�tjddtj�dS(s/Set global warning behavior for the test suite.tignoretcategoryterrorN(twarningstfilterwarningstsa_exctSAPendingDeprecationWarningtSADeprecationWarningt	SAWarning(((sI/opt/alt/python27/lib/python2.7/site-packages/alembic/testing/warnings.pyt
setup_filterss
cC@s�ddlm}tjdt��}tjd�|�}WdQXx<|D]4}|jd�}|rfqH||t|j��qHW|S(s9Assert that each of the given warnings are emitted by fn.i(teq_trecordtalwaysNi(	t
assertionsRRtcatch_warningstTrueRtpoptstrtmessage(tfntwarning_msgstregexRtlogtresulttwarningtpopwarn((sI/opt/alt/python27/lib/python2.7/site-packages/alembic/testing/warnings.pytassert_warningss

(t__doc__t
__future__RRt
sqlalchemyRRtreRtFalseR(((sI/opt/alt/python27/lib/python2.7/site-packages/alembic/testing/warnings.pyt<module>	s