HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
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