%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/
Upload File :
Create Path :
Current File : //opt/alt/python27/lib/python2.7/site-packages/alembic/testing/warnings.pyc

�
�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]U}|jd�}|r�tj|t	|j
��s�t�qH||t	|j
��qHW|S(s9Assert that each of the given warnings are emitted by fn.i(teq_trecordtalwaysNi(t
assertionsRRtcatch_warningstTrueRtpoptretmatchtstrtmessagetAssertionError(tfntwarning_msgstregexRtlogtresulttwarningtpopwarn((sI/opt/alt/python27/lib/python2.7/site-packages/alembic/testing/warnings.pytassert_warningss

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

Zerion Mini Shell 1.0