
    V:i                     V    d dl Zd dlmc mZ d dlmZ dad Z	dee
ef         de
fdZdS )    N)Unionc                     t           6t          |                     d                    }|rddl}|a nddl}|j        a t           S )z
    Import and return the actual "mock" module. By default this is
    "unittest.mock", but the user can force to always use "mock" using
    the mock_use_standalone_module ini option.
    Nmock_use_standalone_moduler   )_mock_moduleparse_ini_booleangetinimockunittest.mock)configuse_standalone_moduler	   unittests       N/root/projects/butler/venv/lib64/python3.11/site-packages/pytest_mock/_util.pyget_mock_moduler      s]      1MM677!
 !
 ! 	)KKKLL    #=L    valuereturnc                     t          | t                    r| S |                                 dk    rdS |                                 dk    rdS t          d| z            )NtrueTfalseFzunknown string for bool: %r)
isinstanceboollower
ValueError)r   s    r   r   r      s]    % {{}}t{{}}u
2U:
;
;;r   )builtins@py_builtins_pytest.assertion.rewrite	assertionrewrite
@pytest_artypingr   r   r   r   strr    r   r   <module>r#      s{                         .<U49- <$ < < < < < <r   