+
    NV-jM  ã                   óx   € R t ^ RIt^ RIt^ RIHtHtHtHt ^ RI	H
t ^ RIHtHt R	R ltR
R ltRR R lltR tR# )z)
Assertion helpers for arithmetic tests.
N)Ú	DataFrameÚIndexÚSeriesÚarray)ÚBooleanArrayÚNumpyExtensionArrayc                ó(  € \         P                  ! \        VR7      ;_uu_ 4        W,            RRR4       \         P                  ! \        VR7      ;_uu_ 4        W,            RRR4       R#   + '       g   i     LG; i  + '       g   i     R# ; i)zñ
Helper function to assert that two objects cannot be added.

Parameters
----------
left : object
    The first operand.
right : object
    The second operand.
msg : str, default "cannot add"
    The error message expected in the TypeError.
©ÚmatchN©ÚpytestÚraisesÚ	TypeError©ÚleftÚrightÚmsgs   &&&Úo/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pandas/tests/arithmetic/common.pyÚassert_cannot_addr      sP   € ô 
�Š”y¨×	,Ö	,ØŽ÷ 
-ä	�Š”y¨×	,Ö	,ØŽ÷ 
-Ñ	,÷ 
-×	,úç	,×	,Ð	,ús   ¥	A-Á	B Á-A=	Â B	c                óH  € \         P                  ! \        VR7      ;_uu_ 4        W,            RRR4       \         P                  ! \        VR7      ;_uu_ 4        W,            RRR4       \         P                  ! \        VR7      ;_uu_ 4        W,
           RRR4       \         P                  ! \        VR7      ;_uu_ 4        W,
           RRR4       R#   + '       g   i     L±; i  + '       g   i     L�; i  + '       g   i     Lm; i  + '       g   i     R# ; i)a  
Helper function to assert that two objects can
neither be added nor subtracted.

Parameters
----------
left : object
    The first operand.
right : object
    The second operand.
msg : str or None, default None
    The error message expected in the TypeError.
r	   Nr   r   s   &&&r   Úassert_invalid_addsub_typer   (   s”   € ô 
�Š”y¨×	,Ö	,ØŽ÷ 
-ä	�Š”y¨×	,Ö	,ØŽ÷ 
-ä	�Š”y¨×	,Ö	,ØŽ÷ 
-ä	�Š”y¨×	,Ö	,ØŽ÷ 
-Ñ	,÷ 
-×	,úç	,×	,úç	,×	,úç	,×	,Ð	,ús/   ¥	CÁ	C*Â	C=Ã	DÃC'	Ã*C:	Ã=D	ÄD!	c                ó$   € V ^8„  d   QhR\         /# )é   Úis_cmp)Úbool)Úformats   "r   Ú__annotate__r   @   s   € ÷ ñ ¬ñ ó    c                óÚ  € \        V \        4      '       g   \        V\        4      '       d   \        # \        V \        4      '       g   \        V\        4      '       d5   V'       d'   \        V \        4      '       d   \        P
                  # \        # \        V \        4      '       g   \        V\        4      '       d   V'       d   \        P
                  # \        # \        P                  # )z¿
Get the box to use for 'expected' in an arithmetic or comparison operation.

Parameters
left : Any
right : Any
is_cmp : bool, default False
    Whether the operation is a comparison method.
)Ú
isinstancer   r   r   Únpr   ÚtmÚto_array)r   r   r   s   &&&r   Úget_upcast_boxr#   @   s�   € ô �$œ	×"Ò"¤j°¼	×&BÒ&BÜÐÜ�$œ×Ò¤:¨e´V×#<Ò#<ß”j ¤u×-Ò-ä—8‘8ˆOÜˆÜ�$œ×Ò¤*¨U´E×":Ò":ßÜ—8‘8ˆOÜˆÜ�;‰;Ðr   c                óJ  € V\         \        39  d   TM\        P                  pR pV! W8H  4      pV! \        P                  ! VP                  \        P
                  R7      4      p\        P                  ! WV4       V! W8H  4      p\        P                  ! WS! V4      4       V! W8g  4      p\        P                  ! WV( 4       V! W8g  4      p\        P                  ! WS! V( 4      4       RP                  . RO4      p\        P                  ! \        VR7      ;_uu_ 4        W8   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W8*   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W8„   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W8¬   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W8   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W8*   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W8„   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W8¬   RRR4       R#   + '       g   i     ELj; i  + '       g   i     ELM; i  + '       g   i     EL0; i  + '       g   i     EL; i  + '       g   i     Lõ; i  + '       g   i     L×; i  + '       g   i     L¹; i  + '       g   i     R# ; i)zæ
Assert that comparison operations with mismatched types behave correctly.

Parameters
----------
left : np.ndarray, ExtensionArray, Index, or Series
right : object
box : {pd.DataFrame, pd.Series, pd.Index, pd.array, tm.to_array}
c                 ó    € \        V \        4      '       d   V P                  # \        V \        4      '       d   V P	                  \
        4      # V # ©N)r   r   Ú_ndarrayr   Úastyper   )Úxs   &r   Úxbox2Ú(assert_invalid_comparison.<locals>.xbox2h   s<   € ô �aÔ,×-Ò-Ø—:‘:ÐÜ�aœ×&Ò&à—8‘8œD“>Ð!Øˆr   )ÚdtypeÚ|r	   N)zInvalid comparison betweenzCannot compare typeznot supported betweenzinvalid type promotionz¿The DTypes <class 'numpy.dtype\[datetime64\]'> and <class 'numpy.dtype\[int64\]'> do not have a common DType. For example they cannot be stored in a single array unless the dtype is `object`.)r   r   r    ÚzerosÚshapeÚbool_r!   Úassert_equalÚjoinr   r   r   )r   r   ÚboxÚxboxr*   ÚresultÚexpectedr   s   &&&     r   Úassert_invalid_comparisonr7   Y   sç  € ð œe¤U˜^Ô+‰3´·±€Dòñ �4‘=Ó!€FÙ”B—H’H˜VŸ\™\´·±Ô:Ó;€Hä‡O‚O�FÔ%á�5‘=Ó!€FÜ‡O‚O�F˜D ›NÔ+á�4‘=Ó!€FÜ‡O‚O�F˜IÔ&á�5‘=Ó!€FÜ‡O‚O�F˜D ( ›OÔ,à
�(‰(ò	
ó€Cô 
�Š”y¨×	,Ö	,ØŠ÷ 
-ä	�Š”y¨×	,Ö	,ØŠ÷ 
-ä	�Š”y¨×	,Ö	,ØŠ÷ 
-ä	�Š”y¨×	,Ö	,ØŠ÷ 
-ä	�Š”y¨×	,Ö	,ØŠ÷ 
-ä	�Š”y¨×	,Ö	,ØŠ÷ 
-ä	�Š”y¨×	,Ö	,ØŠ÷ 
-ä	�Š”y¨×	,Ö	,ØŠ÷ 
-Ñ	,÷ 
-×	,Ð	,úç	,×	,Ð	,úç	,×	,Ð	,úç	,×	,Ð	,úç	,×	,úç	,×	,úç	,×	,úç	,×	,Ð	,ús`   Ä"JÅJÆJ0Æ5KÇ&KÈK+ÉK>É9LÊJ	ÊJ-	Ê0K	ËK	ËK(	Ë+K;	Ë>L	ÌL"	)z
cannot addr&   )F)Ú__doc__Únumpyr    r   Úpandasr   r   r   r   Úpandas._testingÚ_testingr!   Úpandas.core.arraysr   r   r   r   r#   r7   © r   r   Ú<module>r?      s;   ðñó Û ÷ó õ ÷ôô&÷0ô2Er   