/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
site-packages
/
sqlalchemy
/
testing
/
plugin
/
up file
home
� 1��fc @ s� d Z d d l Z d d l Z e � d Z e � d Z d � Z e d k r� e d � e j d <e e j d _ e j d k r� e d � e j d <n e d � e j d <n e d e � � d S( sr Bootstrapper for test framework plugins. The entire rationale for this system is to get the modules in plugin/ imported without importing all of the supporting library, so that we can set up things for testing before coverage starts. The rationale for all of plugin/ being *in* the supporting library in the first place is so that the testing and plugin suite is available to other libraries, mainly external SQLAlchemy and Alembic dialects, to make use of the same test environment and standard suites available to SQLAlchemy/Alembic themselves without the need to ship/install a separate package outside of SQLAlchemy. i����Nt bootstrap_filet to_bootstrapc C s� t j j t j j t � d | � } t j d k r� d d l } | j j | | � } | d k sg t � | j d k s| t � | j j | � } | j j | � n d d l } | j | | � } | S( Ns %s.pyi i i����( i i ( t ost patht joint dirnameR t syst version_infot importlib.utilt utilt spec_from_file_locationt Nonet AssertionErrort loadert module_from_spect exec_modulet impt load_source( t nameR t importlibt spect modR ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/bootstrap.pyt load_file_as_module s %t pytestt plugin_baset sqla_plugin_basei i t reinvent_fixtures_py2kt sqla_reinvent_fixturest pytestplugint sqla_pytestplugins unknown bootstrap: %s( i i ( t __doc__R R t localsR R R t modulest Truet bootstrapped_as_sqlalchemyR t Exception( ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/bootstrap.pyt <module> s