File: //opt/alt/python37/lib/python3.7/site-packages/alembic/testing/__pycache__/engines.cpython-37.pyc
B
�M!V� � @ s* d Z ddlmZ ddlmZ ddd�ZdS ) z�NOTE: copied/adapted from SQLAlchemy master for backwards compatibility;
this should be removable when Alembic targets SQLAlchemy 1.0.0.
� )�absolute_import� )�configNc C s6 ddl m} | ptjj} |dkr&tj}|| f|�}|S )zBProduce an engine configured by --options with optional overrides.r )�
create_engineN)Z
sqlalchemyr r Zdb�urlZdb_opts)r Zoptionsr Zengine� r �H/opt/alt/python37/lib/python3.7/site-packages/alembic/testing/engines.py�testing_engine s r )NN)�__doc__Z
__future__r � r r r r r r �<module> s