+
    ;i                         ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RI	H
t
HtHtHt ^ RIHt ^ RIHt  ! R R]P$                  4      t]R8X  d   ]P*                  ! 4        R# R# )	    N)jit)NumbaWarning
deprecatedNumbaDeprecationWarningNumbaPendingDeprecationWarning)errors)ignore_internal_warningsc                   V   a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
tV tR# )TestBuiltinsc                    R pV P                  VP                  \        4       V P                  V\	        VP
                  4      4       R# )zbFall-back from the nopython compilation path to the object mode compilation path has been detectedNassertEqualcategoryr   assertInstrmessageselfwmsgs   && W/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/tests/test_warnings.py!check_objmode_deprecation_warning.TestBuiltins.check_objmode_deprecation_warning   s4    9%<=c3qyy>*    c                    R pV P                  VP                  \        4       V P                  V\	        VP
                  4      4       R# )z0The 'nopython' keyword argument was not suppliedNr   r   s   && r   $check_nopython_kwarg_missing_warning1TestBuiltins.check_nopython_kwarg_missing_warning   s5     D%<=c3qyy>*r   c                  a \         P                  ! ^\         P                  R7      oV3R lp\        P                  ! RR7      ;_uu_ 4       p\        P
                  ! R\        4       \        4        \        RR7      ! V4      pV! 4        V P                  \        V4      ^ 4       RRR4       R#   + '       g   i     R# ; i)z)
Rerun test_return_type_warning with nrt
)dtypec                     < S # N )ys   r   return_external_arrayMTestBuiltins.test_return_type_warning_with_nrt.<locals>.return_external_array)   s    Hr   Trecordalways)nopythonN)nponesfloat32warningscatch_warningssimplefilterr   r	   r   r   len)r   r$   r   cfuncr#   s   &   @r   !test_return_type_warning_with_nrt.TestBuiltins.test_return_type_warning_with_nrt#   s     GGARZZ(	 $$D11Q!!(L9$&&'<=EGSVQ' 2111s   AB11C	c                0   R  p\         P                  ! RR7      ;_uu_ 4       p\         P                  ! R\        4       \	        4        \        VRR7      pV! ^^4       V P                  \        V4      ^ 4       RRR4       R#   + '       g   i     R# ; i)c                     . pW,           # r!   r"   )xr#   as   && r   add7TestBuiltins.test_no_warning_with_forceobj.<locals>.add6   s    A5Lr   Tr&   r(   )forceobjN)r-   r.   r/   r   r	   r   r   r0   )r   r8   r   r1   s   &   r   test_no_warning_with_forceobj*TestBuiltins.test_no_warning_with_forceobj5   sj    	 $$D11Q!!(L9$&d+E!QKSVQ' 2111s   ABB	c           	     "   \        R 4      R 4       p\        P                  ! RR7      ;_uu_ 4       p\        P                  ! R4       \	        4        V! 4        V P                  \        V4      ^4       V P                  V^ ,          P                  \        4       V P                  R\        V^ ,          P                  4      4       V P                  R \        V^ ,          P                  4      4       RRR4       R#   + '       g   i     R# ; i)fooc                      R # r!   r"   r"   r   r   bar)TestBuiltins.test_deprecated.<locals>.barD   s    r   Tr&   r(   r@   N)r   r-   r.   r/   r	   r   r0   r   DeprecationWarningr   r   r   )r   r@   r   s   &  r   test_deprecatedTestBuiltins.test_deprecatedC   s    	E		 
	 $$D11Q!!(+$&ESVQ'QqT]],>?MM%QqT\\!23MM%QqT\\!23 2111s   CC==D	c           	        \         P                  ! \         P                  4      pVP                  R ^
4      ;_uu_ 4        \        P
                  ! \         P                  ! R4      4       \        P
                  ! \         P                  ! R4      4       \        4        RRR4       \        P                  ! RR7      ;_uu_ 4       p\        P                  ! R4       \        4        VP                  4        V P                  \        V4      ^4       V P                  V^ ,          P                  \        4       V P                  V^,          P                  \        4       V P                  R\        V^ ,          P                  4      4       V P                  R\        V^,          P                  4      4       RRR4       R#   + '       g   i     EL,; i  + '       g   i     R# ; i)r>   sameNTr&   r(   )r   WarningsFixerr   r.   r-   warnr   r	   r/   flushr   r0   r   r   r   r   )r   wfixr   s   &  r   test_warnings_fixer TestBuiltins.test_warnings_fixerR   s5    ##F$7$78  ++MM&--f56MM&88@A$& ,
 $$D11Q!!(+$&JJLSVQ' QqT]],CDQqT]]L9MM&#adll"34MM&#adll"34 21 ,++
 211s   AGC2GG	G&	c                   ^7p^cpRpRV: RV: RV: R2p\         P                  ! \        P                  RV.4      pVP	                  4       w  rgV P                  VP                  V4       \        \        P                  4      pRVR&   \         P                  ! \        P                  RV.VR	7      pVP	                  4       w  rgV P                  VP                  V4       R
# )7   z3'parallel=True' was specified but no transformationa  if 1:
            import warnings
            from numba.tests.error_usecases import foo
            import numba
            from numba.tests.support import ignore_internal_warnings
            with warnings.catch_warnings(record=True) as w:
                warnings.simplefilter('always')
                ignore_internal_warnings()
                foo()
            for x in w:
                if x.category == numba.errors.NumbaPerformanceWarning:
                    if "z2" in str(x.message):
                        exit(z)
            exit(z
)
        z-c1"NUMBA_DISABLE_PERFORMANCE_WARNINGS)envN)

subprocessPopensys
executablecommunicater   
returncodedictosenviron)	r   not_found_ret_codefound_ret_codeexpectedparallel_codepopenouterrrQ   s	   &        r   !test_disable_performance_warnings.TestBuiltins.test_disable_performance_warningsi   s    H& );="   #..$!FG$$&))>: 2::4701  #..$!FCP$$&))+=>r   c           	        \         P                  ! 4       ;_uu_ 4        \         P                  ! R 4       \         P                  ! R\        R7       \         P                  ! R\        R7       \         P
                  ! \        R4      4       \         P
                  ! \	        R4      4       \         P
                  ! \        R4      4       \         P
                  ! \        R4      4       V P                  \        4      ;_uu_ 4        \         P
                  ! \        R4      4       RRR4       RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i)errorignorer   this is ignoredthis is not ignoredN)
r-   r.   r/   rB   PendingDeprecationWarningrH   r   r   assertRaisesr   r   s   &r    test_filter_deprecation_warnings-TestBuiltins.test_filter_deprecation_warnings   s     $$&&!!'*!!(5GH!!(5NOMM,->?@MM34EFGMM12CDEMM89JKL""<00l+@AB 1 '& 10 '&&s$   C(E D8	&E8EEE	c           	     
   \         P                  ! 4       ;_uu_ 4        \         P                  ! R \        R7       \         P                  ! R \        R7       \         P                  ! R\
        R7       \         P                  ! R\        R7       V P                  \        4      ;_uu_ 4        \         P                  ! \        R4      4       RRR4       V P                  \        4      ;_uu_ 4        \         P                  ! \	        R4      4       RRR4       \         P                  ! \        R4      4       \         P                  ! \        R4      4       \         P                  ! R \
        R7       \         P                  ! R \        R7       V P                  \        4      ;_uu_ 4        \         P                  ! \        R4      4       RRR4       V P                  \        4      ;_uu_ 4        \         P                  ! \        R4      4       RRR4       RRR4       R#   + '       g   i     EL`; i  + '       g   i     EL/; i  + '       g   i     L; i  + '       g   i     LU; i  + '       g   i     R# ; i)re   rg   rf   ri   Nrh   )	r-   r.   r/   rB   rj   r   r   rk   rH   rl   s   &r   )test_filter_ignore_numba_deprecation_only6TestBuiltins.test_filter_ignore_numba_deprecation_only   s    $$&&!!'4FG!!'4MN!!(5LM!!(+IK ""#56601FGH 7""#<==78MNO > MM12CDEMM89JKL !!'4KL!!'+IK ""#56656KLM 7""#<==<)+ , >- '& 766=== 76==- '&&sm   BI1, H#	%I11 H7	BI1, I	%I11 I	I1#H4.	I17I	I1II1I.)I11J	r"   N)__name__
__module____qualname____firstlineno__r   r   r2   r;   rC   rK   rb   rm   rp   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s9     ++($(45.#?JC, ,r   r   __main__)rY   rR   rT   r-   numpyr*   unittestnumbar   numba.core.errorsr   r   r   r   
numba.corer   numba.tests.supportr	   TestCaser   rr   mainr"   r   r   <module>r      sY    	  
       8d,8$$ d,N zMMO r   