+
    Qi%                         R t ^ RIHt ^ RIt^ RIt]P                  P                  ]! ]P                  R4      '       * RR7      t
 ! R R4      tR# )z"
Check the numpy config is valid.
)patchN_built_with_mesonzRequires Meson buildsreasonc                      a  ] tR t^t o . R
Ot]! R4      ]P                  P                  RR7      R 4       4       t	R t
R tR tRtV tR	# )TestNumPyConfigsznumpy.__config__._check_pyyamlz(unittest.mock.patch updates global stater   c                    \        4       Vn        \        P                  ! \        4      ;_uu_ 4        \
        P                  ! 4        R R R 4       R #   + '       g   i     R # ; iN)ModuleNotFoundErrorside_effectpytestwarnsUserWarningnpshow_config)selfmock_yaml_importers   &&c/Users/mibo/.openclaw/workspace/.venv/lib/python3.14/site-packages/numpy/tests/test_numpy_config.pytest_pyyaml_not_found&TestNumPyConfigs.test_pyyaml_not_found   s8     *=)>&\\+&&NN '&&&s   AA#	c                  a \         P                  ! R R7      o\        S\        4      '       g   Q h\        ;QJ d)    V3R lV P
                   4       F  '       d   K   RM	  RM! V3R lV P
                   4       4      '       g   Q R4       hR# )dictsmodec              3   ,   <"   T F	  qS9   x  K  	  R # 5ir	    ).0keyconfigs   & r   	<genexpr>2TestNumPyConfigs.test_dict_mode.<locals>.<genexpr>"   s     F,ES&=,Es   FTzFRequired key missing, see index of `False` with `REQUIRED_CONFIG_KEYS`N)r   r   
isinstancedictallREQUIRED_CONFIG_KEYS)r   r   s   &@r   test_dict_modeTestNumPyConfigs.test_dict_mode   sd    W-&$''''sFD,E,EFsssFD,E,EFFF 	
@	
F    c                    \         P                  ! \        4      ;_uu_ 4        \        P                  ! R R7       RRR4       R#   + '       g   i     R# ; i)foor   N)r   raisesAttributeErrorr   r   r   s   &r   test_invalid_mode"TestNumPyConfigs.test_invalid_mode'   s,    ]]>**NN& +***s   AA	c                d    \        \        P                  P                  4      ^8X  g   Q R4       hR# )   zGNew mode detected, please add UT if applicable and increment this countN)lenr   
__config__DisplayModesr,   s   &r   test_warn_to_add_tests'TestNumPyConfigs.test_warn_to_add_tests+   s,    2==--.!3 	
D	
3r'   r   N)	CompilerszMachine InformationzPython Information)__name__
__module____qualname____firstlineno__r$   r   r   markthread_unsafer   r%   r-   r4   __static_attributes____classdictcell__)__classdict__s   @r   r   r      sW      +,[[&PQ R -

'
 
r'   r   )__doc__unittest.mockr   r   numpyr   r;   skipifhasattrr2   
pytestmarkr   r   r'   r   <module>rF      sM       [[233"   

 
r'   