
    +h                     *   d Z ddlZddlZ e       d   Z e       d   Zd Zedk(  rc ed      ej                  d<   d	ej                  d   _        ej                  d
k  r ed      ej                  d<    ed      ej                  d<   y e
dez        )ar  
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.


    Nbootstrap_fileto_bootstrapc                    t         j                  j                  t         j                  j                  t              d| z        }t
        j                  dk\  rjdd l}|j                  j                  | |      }|J |j                  J |j                  j                  |      }|j                  j                  |       |S dd l}|j                  | |      }|S )Nz%s.py)      r   )ospathjoindirnamer   sysversion_infoimportlib.utilutilspec_from_file_locationloadermodule_from_specexec_moduleimpload_source)namer	   	importlibspecmodr   s         V/var/www/html/venv/lib/python3.12/site-packages/sqlalchemy/testing/plugin/bootstrap.pyload_file_as_moduler      s    77<<74HD
6!~~55dDA{{&&&nn--d3$ J	 	oodD)J    pytestplugin_basesqla_plugin_baseT)r   r   reinvent_fixtures_py2ksqla_reinvent_fixturespytestpluginsqla_pytestpluginzunknown bootstrap: %s)__doc__r   r   localsr   r   r   modulesbootstrapped_as_sqlalchemyr   	Exception r   r   <module>r*      s   " 
 
 *+x'& 8&9-&HCKK"#AECKK"#>
& 0C$1
,- (;>'JCKK#$
+l:
;;r   