+
     þÎjÊ'  ã                   ó´   € ^ RI t ^ RIt^ RIHt ^ RIHtHtHt ^ RIH	t	H
t
Ht ^ RIHtHt ]R 4       t ! R R]4      t]R	8X  d   ]P$                  ! 4        R# R# )
é    N)Úcontextmanager)ÚjitÚ	vectorizeÚguvectorize)ÚNumbaDeprecationWarningÚNumbaPendingDeprecationWarningÚNumbaWarning)ÚTestCaseÚneeds_setuptoolsc               #   óþ   "  € \         P                  ! R R7      ;_uu_ 4       p \         P                  ! R\        R7       \         P                  ! R\        R7       V x € RRR4       R#   + '       g   i     R# ; i5i)T©ÚrecordÚignore©ÚcategoryÚalwaysN)ÚwarningsÚcatch_warningsÚsimplefilterr	   r   )Úws    ÚS/opt/data/home/.local/lib/python3.14/site-packages/numba/tests/test_deprecations.pyÚ!_catch_numba_deprecation_warningsr      sL   é € ä	×	 Ò	 ¨×	-Õ	-°Ü×Ò˜h´Õ>Ü×Ò˜hÔ1HÕIØŠ÷ 
.×	-×	-Ò	-üs   ‚ A=¢=A)Á
A=Á)A:	Á4	A=c                   ó~  a € ] tR t^t o RR lt]P                  R 4       t]P                  R 4       t]P                  R 4       t	]P                  R 4       t
]P                  R 4       t]P                  R 4       t]P                  R 4       t]P                  R	 4       t]P                  R
 4       t]P                  R 4       t]P                  R 4       t]P                  R 4       t]P                  R 4       t]P                  R 4       t]]P                  R 4       4       t]]P                  R 4       4       tRtV tR# )ÚTestDeprecationc                óF  € V P                  \        V4      ^4       V P                  V^ ,          P                  V4       V P                  V\	        V^ ,          P
                  4      4       V'       d/   V P                  R\	        V^ ,          P
                  4      4       R# R# )é   úhttps://numba.readthedocs.ioN)ÚassertEqualÚlenr   ÚassertInÚstrÚmessage)Úselfr   Úexpected_strr   Ú	check_rtds   &&&&&r   Úcheck_warningÚTestDeprecation.check_warning   sv   € Ø×Ñœ˜X›¨Ô*Ø×Ñ˜ !�×-Ñ-¨xÔ8Ø�‰�l¤C¨°­×(;Ñ(;Ó$<Ô=ßØ�M‰MÐ8Ü˜h q�k×1Ñ1Ó2ö4ñ ó    c           	     óÊ   € \        4       ;_uu_ 4       p\        R R7      R 4       pV! 4        RpV P                  W\        R R7       RRR4       R#   + '       g   i     R# ; i)F©Únopythonc                  ó   € R # ©N© r.   r(   r   ÚfooÚ?TestDeprecation.test_explicit_false_nopython_kwarg.<locals>.foo#   s   € ár(   ú2The keyword argument 'nopython=False' was supplied©r%   N)r   r   r&   r   ©r#   r   r/   Úmsgs   &   r   Ú"test_explicit_false_nopython_kwargÚ2TestDeprecation.test_explicit_false_nopython_kwarg   sW   € ô /×0Ô0°Aä˜%Ô ñó !ðñ ŒEàFˆCØ×Ñ˜qÔ'>È%ÐÔP÷ 1×0×0Ò0ús   “4AÁA"	c                ó¦   € \        4       ;_uu_ 4       p\        R 4      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)úfloat64(float64)c                 ó   € V ^,           # ©r   r.   ©Úas   &r   r/   ÚOTestDeprecation.test_vectorize_missing_nopython_kwarg_not_reported.<locals>.foo3   ó   € à˜1•u�r(   N©r   r   ÚassertFalse©r#   r   r/   s   &  r   Ú2test_vectorize_missing_nopython_kwarg_not_reportedÚBTestDeprecation.test_vectorize_missing_nopython_kwarg_not_reported,   sE   € ô
 /×0Ô0°AäÐ)Ó*ñó +ð÷ 1ð 	×Ñ˜Ö÷ 1×0ús   “A Á A	c                ó¾   € \        4       ;_uu_ 4       p\        R RR7      R 4       pRRR4       RpV P                  XV\        RR7       R#   + '       g   i     L-; i)r8   Fr*   c                 ó   € V ^,           # r:   r.   r;   s   &r   r/   ÚFTestDeprecation.test_vectorize_nopython_false_is_reported.<locals>.foo@   r>   r(   Nr1   r2   ©r   r   r&   r   r3   s   &   r   Ú)test_vectorize_nopython_false_is_reportedÚ9TestDeprecation.test_vectorize_nopython_false_is_reported9   sW   € ô
 /×0Ô0°AäÐ)°EÔ:ñó ;ð÷ 1ð CˆØ×Ñ˜1˜cÔ#:ÀeÐÖL÷ 1×0ús   “AÁA	c                óª   € \        4       ;_uu_ 4       p\        R RR7      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)r8   T©Úforceobjc                 ó(   € \        4        V ^,           # r:   ©Úobjectr;   s   &r   r/   ÚRTestDeprecation.test_vectorize_objmode_direct_compilation_no_warnings.<locals>.fooM   ó   € ä”Ø˜1•u�r(   Nr?   rA   s   &  r   Ú5test_vectorize_objmode_direct_compilation_no_warningsÚETestDeprecation.test_vectorize_objmode_direct_compilation_no_warningsG   sG   € ô /×0Ô0°AäÐ)°DÔ9ñó :ð÷ 1ð 	×Ñ˜Ö÷ 1×0úó   “AÁA	c                óÀ   € \        4       ;_uu_ 4       p\        R RRR7      R 4       pRRR4       RpV P                  XV\        RR7       R#   + '       g   i     L-; i)r8   TF)rL   r+   c                 ó(   € \        4        V ^,           # r:   rN   r;   s   &r   r/   ÚTTestDeprecation.test_vectorize_objmode_compilation_nopython_false_warns.<locals>.foo[   rQ   r(   Nr1   r2   rG   r3   s   &   r   Ú7test_vectorize_objmode_compilation_nopython_false_warnsÚGTestDeprecation.test_vectorize_objmode_compilation_nopython_false_warnsT   sZ   € ô
 /×0Ô0°AäÐ)°DÀ5ÔIñó Jð÷ 1ð CˆØ×Ñ˜1˜cÔ#:ÀeÐÖL÷ 1×0úó   “AÁA	c                óª   € \        4       ;_uu_ 4       p\        R RR7      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)r8   Úparallel©Útargetc                 ó   € V ^,           # r:   r.   ©Úxs   &r   r/   ÚETestDeprecation.test_vectorize_parallel_true_no_warnings.<locals>.fooi   r>   r(   Nr?   rA   s   &  r   Ú(test_vectorize_parallel_true_no_warningsÚ8TestDeprecation.test_vectorize_parallel_true_no_warningsc   sG   € ô
 /×0Ô0°AÜÐ)°*Ô=ñó >ð÷ 1ð
 	×Ñ˜Ö÷ 1×0úrT   c                ó¬   € \        4       ;_uu_ 4       p\        R RRR7      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)r8   r\   T©r^   r+   c                 ó   € V ^,           # r:   r.   r`   s   &r   r/   ÚSTestDeprecation.test_vectorize_parallel_true_nopython_true_no_warnings.<locals>.foot   r>   r(   Nr?   rA   s   &  r   Ú6test_vectorize_parallel_true_nopython_true_no_warningsÚFTestDeprecation.test_vectorize_parallel_true_nopython_true_no_warningso   sJ   € ô /×0Ô0°AÜÐ)°*ÀtÔLñó Mð÷ 1ð
 	×Ñ˜Ö÷ 1×0úó   “AÁA	c                óÀ   € \        4       ;_uu_ 4       p\        R RRR7      R 4       pRRR4       RpV P                  XV\        RR7       R#   + '       g   i     L-; i)r8   r\   Frf   c                 ó   € V ^,           # r:   r.   r`   s   &r   r/   ÚNTestDeprecation.test_vectorize_parallel_true_nopython_false_warns.<locals>.foo   r>   r(   Nr1   r2   rG   r3   s   &   r   Ú1test_vectorize_parallel_true_nopython_false_warnsÚATestDeprecation.test_vectorize_parallel_true_nopython_false_warnsz   sZ   € ô /×0Ô0°AÜÐ)°*ÀuÔMñó Nð÷ 1ð
 CˆØ×Ñ˜1˜cÔ#:ÀeÐÖL÷ 1×0úrZ   c                ó¸   a€ \        4       ;_uu_ 4       p\        R RR7      V3R l4       pR oRRR4       V P                  X4       R#   + '       g   i     L#; i)r8   TrK   c                 ó"   <€ S! V ^,           4      # r:   r.   )ra   Úbars   &€r   r/   ÚZTestDeprecation.test_vectorize_calling_jit_with_nopython_false_warns_from_jit.<locals>.foo�   s   ø€ á˜1˜q�5“zÐ!r(   c                  ó   € R # r-   r.   )Úargss   *r   rs   ÚZTestDeprecation.test_vectorize_calling_jit_with_nopython_false_warns_from_jit.<locals>.bar“   s   € Ùr(   Nr?   )r#   r   r/   rs   s   &  @r   Ú=test_vectorize_calling_jit_with_nopython_false_warns_from_jitÚMTestDeprecation.test_vectorize_calling_jit_with_nopython_false_warns_from_jit†   sM   ø€ ô /×0Ô0°AÜÐ)°DÔ9ô"ó :ð"ò÷ 1ð 	×Ñ˜Ö÷ 1×0ús   ”A	Á	A	c                ó¨   € \        4       ;_uu_ 4       p\        R R4      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)ú void(float64[::1], float64[::1])ú(n)->(n)c                 ó   € V ^,          p R# ©r   Nr.   ©r<   Úbs   &&r   rs   ÚKTestDeprecation.test_guvectorize_implicit_nopython_no_warnings.<locals>.barž   s   € à�Q•’r(   N©r   r   r@   ©r#   r   rs   s   &  r   Ú.test_guvectorize_implicit_nopython_no_warningsÚ>TestDeprecation.test_guvectorize_implicit_nopython_no_warnings˜   sH   € ô /×0Ô0°AäÐ;¸ZÓHñó Ið÷ 1ð 	×Ñ˜Ö÷ 1×0ús   “AÁA	c                ó¬   € \        4       ;_uu_ 4       p\        R RRR7      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)r{   r|   TrK   c                 ó,   € \        4        V ^,          p R# r~   rN   r   s   &&r   rs   ÚBTestDeprecation.test_guvectorize_forceobj_no_warnings.<locals>.barª   ó   € ô ”Ø�Q•’r(   Nr‚   rƒ   s   &  r   Ú%test_guvectorize_forceobj_no_warningsÚ5TestDeprecation.test_guvectorize_forceobj_no_warnings¤   sL   € ô /×0Ô0°AäÐ;¸ZØ"&ô(ñó(ð÷	 1ð 	×Ñ˜Ö÷ 1×0úrk   c                ó¬   € \        4       ;_uu_ 4       p\        R RRR7      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)r{   r|   r\   r]   c                 ó   € V ^,          p R# r~   r.   r   s   &&r   rs   ÚTTestDeprecation.test_guvectorize_parallel_implicit_nopython_no_warnings.<locals>.bar¸   s   € ð �Q•’r(   Nr‚   rƒ   s   &  r   Ú7test_guvectorize_parallel_implicit_nopython_no_warningsÚGTestDeprecation.test_guvectorize_parallel_implicit_nopython_no_warnings²   sL   € ô /×0Ô0°AäÐ;¸ZØ *ô,ñó,ð÷	 1ð 	×Ñ˜Ö÷ 1×0úrk   c           	     ó®   € \        4       ;_uu_ 4       p\        R RRRR7      R 4       pRRR4       V P                  X4       R#   + '       g   i     L#; i)r{   r|   r\   T)r^   rL   c                 ó,   € \        4        V ^,          p R# r~   rN   r   s   &&r   rs   ÚKTestDeprecation.test_guvectorize_parallel_forceobj_no_warnings.<locals>.barÇ   r‰   r(   Nr‚   rƒ   s   &  r   Ú.test_guvectorize_parallel_forceobj_no_warningsÚ>TestDeprecation.test_guvectorize_parallel_forceobj_no_warnings¿   sP   € ô /×0Ô0°Aô Ð;¸ZØ *°Tô;ñó;ð÷ 1ð 	×Ñ˜Ö÷ 1×0ús   “AÁA	c                óØ  € R  pR pW3 EFF  pVP                   P                  R4      p\        V4      ! ^
.4      p\        P                  ! RR7      ;_uu_ 4       p\        P
                  ! R\        R7       \        P
                  ! R\        R7       \        RR7      ! V4      ! V4       V P                  \        V4      ^4       V P                  V^ ,          P                  \        4       \        V^ ,          P                  4      pR	pV P                  W‡4       R
V,          pV P                  W‡4       V P                  RV4       RRR4       EKI  	  R#   + '       g   i     EK_  ; i)c                 ó$   € V P                  ^4      # r:   )Úappendr;   s   &r   Úfoo_listÚFTestDeprecation.test_reflection_of_mutable_container.<locals>.foo_listÒ   s   € Ø—8‘8˜A“;Ðr(   c                 ó$   € V P                  ^4      # r:   )Úaddr;   s   &r   Úfoo_setÚETestDeprecation.test_reflection_of_mutable_container.<locals>.foo_setÕ   s   € Ø—5‘5˜“8ˆOr(   Úfoo_Tr   r   r   r   r*   z?Encountered the use of a type that is scheduled for deprecationz!'reflected %s' found for argumentr   N)Ú__name__ÚstripÚevalr   r   r   r	   r   r   r   r   r   r!   r"   r    )	r#   r™   r�   ÚfÚ	containerÚinpr   Úwarn_msgr4   s	   &        r   Ú$test_reflection_of_mutable_containerÚ4TestDeprecation.test_reflection_of_mutable_containerÏ   s  € ò	ò	ð Ô$ˆAØŸ
™
×(Ñ(¨Ó0ˆIÜ�y”/ 2 &Ó)ˆCÜ×(Ò(°×5Õ5¸Ü×%Ò% h¼ÕFÜ×%Ò% hÜ/MõOä˜TÕ" 1Ô% cÔ*Ø× Ñ ¤ Q£¨Ô+Ø× Ñ   1¥§¡Ô0NÔOÜ˜q �tŸ|™|Ó,�ð%�à—‘˜cÔ,Ø<¸yÕH�Ø—‘˜cÔ,Ø—‘Ð<¸hÔG÷ 6Ò5ó %÷ 6×5Ñ5ús   ÁC.EÅE)c                óî   € \         P                  ! R R7      ;_uu_ 4       p\         P                  ! R\        R7       ^ RIpRpV P                  W\        4       RRR4       R#   + '       g   i     R# ; i)Tr   r   r   Nú)The 'pycc' module is pending deprecation.)r   r   r   r   Ú
numba.pyccr&   )r#   r   Únumbar$   s   &   r   Útest_pycc_moduleÚ TestDeprecation.test_pycc_moduleê   sS   € ô
 ×$Ò$¨D×1Õ1°QÜ×!Ò! (Ü+IõKãàGˆLØ×Ñ˜qÔ0NÔO÷ 2×1×1Ò1ús    9A#Á#A4	c                óò   € \         P                  ! R R7      ;_uu_ 4       p\         P                  ! R\        R7       ^ RIHp RpV P                  W\        4       RRR4       R#   + '       g   i     R# ; i)Tr   r   r   )ÚCCrª   N)r   r   r   r   r«   r°   r&   )r#   r   r°   r$   s   &   r   Útest_pycc_CCÚTestDeprecation.test_pycc_CC÷   sS   € ô
 ×$Ò$¨D×1Õ1°QÜ×!Ò! (Ü+IõKå%àGˆLØ×Ñ˜qÔ0NÔO÷ 2×1×1Ò1ús    ;A%Á%A6	r.   N)T)r    Ú
__module__Ú__qualname__Ú__firstlineno__r&   r
   Úrun_test_in_subprocessr5   rB   rH   rR   rX   rc   ri   ro   rx   r„   rŠ   r�   r”   r§   r   r­   r±   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      sÈ  ø‡ € ô4ð ×$Ñ$ñQó %ðQð ×$Ñ$ñ
ó %ð
ð ×$Ñ$ñMó %ðMð ×$Ñ$ñ
ó %ð
ð ×$Ñ$ñMó %ðMð ×$Ñ$ñ	ó %ð	ð ×$Ñ$ñó %ðð ×$Ñ$ñ	Mó %ð	Mð ×$Ñ$ñó %ðð" ×$Ñ$ñ	ó %ð	ð ×$Ñ$ñó %ðð ×$Ñ$ñ
ó %ð
ð ×$Ñ$ñó %ðð ×$Ñ$ñHó %ðHð4 Ø×$Ñ$ñ	Pó %ó ð	Pð Ø×$Ñ$ñ	Pó %ó ö	Pr(   r   Ú__main__)r   ÚunittestÚ
contextlibr   r¬   r   r   r   Únumba.core.errorsr   r   r	   Únumba.tests.supportr
   r   r   r   r    Úmainr.   r(   r   Ú<module>rÀ      s`   ðÛ Û Ý %ç -Ñ -÷Mñ Mç :ð ñó ðôoP�hô oPðd ˆzÔØ‡M‚M†Oñ r(   