+
    ei?	  c                   s    ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RIHt	 ^ RI
HtHtHtHtHt R tR t]P$                  P'                  ]RR7      R 4       tR# )	    N)reload)IS_WASMassert_assert_equalassert_raisesassert_warnsc                  s   ^ RI p ^ RIpV P                  p\        P                  p\        P
                  p\        \        4      ;_uu_ 4        \        V 4       RRR4       \        W P                  J 4       \        V\        P
                  J 4       \        V\        P                  J 4       \        \        \        VP                  4       \        \        4      ;_uu_ 4        \        V 4       RRR4       \        W P                  J 4       \        V\        P
                  J 4       \        V\        P                  J 4       R#   + '       g   i     L; i  + '       g   i     Lq; i)r    N)numpyZnumpy._globals_NoValueexVisibleDeprecationWarningModuleDeprecationWarningr   ZUserWarningr   r   r   ZRuntimeErrorZ_globals)npr   r   r
   r   s        A/usr/lib64/python3.14/site-packages/numpy/tests/test_reloading.pytest_numpy_reloadingr      s    {{H " < <!::	k	"	"r
 
#H#$$(C(CCD%)E)EEF,7	k	"	"r
 
#H#$$(C(CCD%)E)EEF 
#	" 
#	"s   E"EE	E'	c            
      s2   ^ RI p \        ^\        P                  ^,           4       Fm  p\	        \        V P                  4      R4       \        \        P                  ! \        P                  ! V P                  VR7      4      V P                  J 4       Ko  	  R# )r    Nz
<no value>)Zprotocol)
r   ZrangepickleZHIGHEST_PROTOCOLr   Zreprr   r   ZloadsZdumps)r   Zproto     r   test_novaluer   )   si    q&11A56T"++&5V\\"++38: ;>@kkJ 	K 7    zcan't start subprocess)Zreasonc                 s   \         P                  ! R4      p \        P                  ! \        P
                  RV .RR7      pVP                  '       d5   \        RVP                  : RVP                  P                  4        24      hR# )zAt the time of writing this, it is *not* truly supported, but
apparently enough users rely on it, for it to be an annoying change
when it started failing previously.
a  
        import sys
        from pytest import warns
        import numpy as np

        for k in list(sys.modules.keys()):
            if "numpy" in k:
                del sys.modules[k]

        with warns(UserWarning):
            import numpy as np
        z-cT)Zcapture_outputzNon-zero return code: z

N)
textwrapZdedent
subprocessZrunsysZ
executableZ
returncodeZAssertionErrorZstderrZdecode)ZcodeZpr   r   test_full_reimportr   1   sp     ??  D 	d3DIA|||$Q\\$4D9J8KL
 	
 r   )r   r   r   r   Z	importlibr   ZpytestZnumpy.exceptionsZ
exceptionsr	   Znumpy.testingr   r   r   r   r   r   r   ZmarkZskipifr   ) r   r   <module>r      sY      
     G,K G$<=
 >
r   