
    Bwg                     j    d dl Z d dlmZmZmZ d dlZej                  j                  d      d        Zy)    N)
LazyLoader	find_specmodule_from_specz$ignore:The NumPy module was reloadedc                     t         j                  j                  d      } i }t        t         j                  j	                               D ]2  \  }}|d d dk(  s|||<   t         j                  j                  |       4 	 t        d      }t        |      }|t         j                  d<   t        |j                        }|j                  |       |}ddl
m} |j                   | r3| t         j                  d<   t         j                  j                  |       y y # | r3| t         j                  d<   t         j                  j                  |       w w xY w)Nnumpy   znumpy.r   )recfunctions)sysmodulespoplistitemsr   r   r   loaderexec_module	numpy.libr	   ndarrayupdate)		old_numpynumpy_modulesmod_namemodspecmoduler   npr	   s	            S/var/www/horilla/myenv/lib/python3.12/site-packages/numpy/tests/test_lazyloading.pytest_lazy_loadr      s    (IMckk//12 &#BQ<8#&)M(#KKOOH%&
.!!$'%GDKK(6" 	+ 	

 #,CKK KK}- 9#,CKK KK}- s   ?A#D 7E)	r
   importlib.utilr   r   r   pytestmarkfilterwarningsr        r   <module>r#      s6    
 B B  BC. D.r"   