Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/testing/plugin/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/testing/plugin/__pycache__/bootstrap.cpython-311.pyc

�

�܋f�����dZddlZddlZe��dZe��dZd�Zedkr(ed��ejd<ed	��ejd
<dSedez���)a�
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.

NOTE:  copied/adapted from SQLAlchemy master for backwards compatibility;
this should be removable when Alembic targets SQLAlchemy 1.0.0.

�N�bootstrap_file�to_bootstrapc�B�tj�tj�t��d|z��}t
jdkr/ddlm}|�	||���
��}nddl}|�||��}|S)Nz%s.py)�rr)�	machinery)
�os�path�join�dirnamer�sys�version_info�	importlibr�SourceFileLoader�load_module�imp�load_source)�namer	r�modrs     �v/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/sqlalchemy/testing/plugin/bootstrap.py�load_file_as_modulers���
�7�<�<������7�7��4��H�H�D�
��6�!�!�'�'�'�'�'�'��(�(��t�4�4�@�@�B�B����
�
�
��o�o�d�D�)�)���J��pytest�plugin_base�sqla_plugin_base�pytestplugin�sqla_pytestpluginzunknown bootstrap: %s)	�__doc__rr�localsrrr�modules�	Exception�rr�<module>r"s�����&
�	�	�	�
�
�
�
�����*�+���v�x�x��'��
�
�
��8���&9�&9�-�&H�&H�C�K�"�#�':�':�>�'J�'J�C�K�#�$�$�$�
�)�+�l�:�
;�
;�;r

Hacked By AnonymousFox1.0, Coded By AnonymousFox