
    q'Ve{                     $    d Z ddlZddlmZ d ZdS )z(Test the deferred import error mechanism    N)QtModuleNotInstalledErrorc                      ddl m}  | j        J t          j        t
                    5 }ddlm} ddd           n# 1 swxY w Y   d}|t          |j                  k    sJ dS )zETest importing a module that uses the deferred import error mechanism   )optional_depsN)MissingClasszrThe optional_dep.MissingClass module was not found. It must be installed separately as test_package_please_ignore.)	 r   ExampleClasspytestraisesr   r   strvalue)r   excinfor   msgs       Elib/python3.11/site-packages/qtpy/tests/test_missing_optional_deps.pytest_missing_optional_depsr      s    %111	0	1	1 0W//////0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C#gm$$$$$$$$s   <A A )__doc__r
   qtpyr   r        r   <module>r      sA    . .  * * * * * *
% 
% 
% 
% 
%r   