File: //opt/alt/python27/lib/python2.7/site-packages/alembic/testing/engines.pyo
�
�M!Vc           @@  s9   d  Z  d d l m Z d d l m Z d d d � Z d S(   s�   NOTE:  copied/adapted from SQLAlchemy master for backwards compatibility;
   this should be removable when Alembic targets SQLAlchemy 1.0.0.
i    (   t   absolute_importi   (   t   configc         C@  sM   d d l  m } |  p t j j }  | d k r: t j } n  | |  | � } | S(   sB   Produce an engine configured by --options with optional overrides.i    (   t
   create_engineN(   t
   sqlalchemyR   R   t   dbt   urlt   Nonet   db_opts(   R   t   optionsR   t   engine(    (    sH   /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/engines.pyt   testing_engine   s    N(   t   __doc__t
   __future__R    t    R   R   R
   (    (    (    sH   /opt/alt/python27/lib/python2.7/site-packages/alembic/testing/engines.pyt   <module>	   s