Ë
    ÷U.jý  ã                   ó–   — d Z ddlZddlZddlmZ ej                  j                   eej                  d«       d¬«      Z
 G d„ d«      Zy)	z"
Check the numpy config is valid.
é    N)ÚpatchÚ_built_with_mesonzRequires Meson builds)Úreasonc                   óB   — e Zd Zg d¢Z ed«      d„ «       Zd„ Zd„ Zd„ Zy)ÚTestNumPyConfigs)Ú	CompilerszMachine InformationzPython Informationznumpy.__config__._check_pyyamlc                 ó¦   — t        «       |_        t        j                  t        «      5  t        j                  «        d d d «       y # 1 sw Y   y xY w©N)ÚModuleNotFoundErrorÚside_effectÚpytestÚwarnsÚUserWarningÚnpÚshow_config)ÚselfÚmock_yaml_importers     ú_C:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\numpy/tests/test_numpy_config.pyÚtest_pyyaml_not_foundz&TestNumPyConfigs.test_pyyaml_not_found   s0   € ä)<Ó)>ÐÔ&Ü�\‰\œ+Õ&Ü�N‰NÔ÷ '×&Ñ&ús   ©AÁAc                 ó    ‡— t        j                  d¬«      Št        ‰t        «      sJ ‚t	        ˆfd„| j
                  D «       «      sJ d«       ‚y )NÚdicts©Úmodec              3   ó&   •K  — | ]  }|‰v –— Œ
 y ­wr
   © )Ú.0ÚkeyÚconfigs     €r   Ú	<genexpr>z2TestNumPyConfigs.test_dict_mode.<locals>.<genexpr>   s   øè ø€ ÐFÑ,E S�3˜&”=Ñ,Eùs   ƒzFRequired key missing, see index of `False` with `REQUIRED_CONFIG_KEYS`)r   r   Ú
isinstanceÚdictÚallÚREQUIRED_CONFIG_KEYS)r   r   s    @r   Útest_dict_modezTestNumPyConfigs.test_dict_mode   sH   ø€ Ü—‘ WÔ-ˆä˜&¤$Ô'Ð'Ð'ÜÓF¨D×,EÒ,EÓFÔFð 	
ð@ó	
ÑFó    c                 óŒ   — t        j                  t        «      5  t        j                  d¬«       d d d «       y # 1 sw Y   y xY w)NÚfoor   )r   ÚraisesÚAttributeErrorr   r   ©r   s    r   Útest_invalid_modez"TestNumPyConfigs.test_invalid_mode$   s&   € Ü�]‰]œ>Õ*Ü�N‰N Õ&÷ +×*Ñ*ús	   š:ºAc                 ó^   — t        t        j                  j                  «      dk(  sJ d«       ‚y )Né   zGNew mode detected, please add UT if applicable and increment this count)Úlenr   Ú
__config__ÚDisplayModesr*   s    r   Útest_warn_to_add_testsz'TestNumPyConfigs.test_warn_to_add_tests(   s,   € Ü”2—=‘=×-Ñ-Ó.°!Ò3ð 	
ðDó	
Ñ3r%   N)	Ú__name__Ú
__module__Ú__qualname__r#   r   r   r$   r+   r1   r   r%   r   r   r      s3   „ òÐñ Ð+Ó,ñó -ðò

ò'ó
r%   r   )Ú__doc__Únumpyr   r   Úunittest.mockr   ÚmarkÚskipifÚhasattrr/   Ú
pytestmarkr   r   r%   r   Ú<module>r<      sM   ðñó Û Ý à�[‰[×ÑÙ�—‘Ð2Ó3Ð3Ø"ð  ó €
÷
ò 
r%   