
    Mh
                         S SK r S SKJrJr  S SKr\ R                  R                  S/ SQ5      S 5       rS r	\ R                  R                  SSS	/5      S
 5       r
 " S S5      rS rg)    N)AbstractMethodErrorUndefinedVariableErrorexc) AttributeConflictWarning
CSSWarningCategoricalConversionWarningClosedFileError	DataErrorDatabaseErrorDtypeWarningEmptyDataErrorIncompatibilityWarningIndexingErrorInvalidColumnNameInvalidComparisonInvalidVersionLossySetitemError
MergeErrorNoBufferPresentNumExprClobberingErrorNumbaUtilErrorOptionErrorOutOfBoundsDatetimeParserErrorParserWarningPerformanceWarningPossibleDataLossErrorPossiblePrecisionLossPyperclipExceptionSettingWithCopyErrorSettingWithCopyWarningSpecificationErrorUnsortedIndexErrorUnsupportedFunctionCallValueLabelTypeMismatchc                     SSK Jn  [        X5      nUc   eSn[        R                  " X#S9   U" 5       e! , (       d  f       g = f)Nr   errorsz^$match)pandasr(   getattrpytestraises)r   r(   errmsgs       J/var/www/html/env/lib/python3.13/site-packages/pandas/tests/test_errors.pytest_exception_importabler2      s?    L 
&
C?? C	s	&e 
'	&s	   5
Ac                      SSK Jn   Sn[        R                  " U R                  US9   [
        R                  " S5      R                  S5        S S S 5        g ! , (       d  f       g = f)Nr   r'   z=Cannot cast 1500-01-01 00:00:00 to unit='ns' without overflowr)   15000101ns)r+   r(   r-   r.   r   pd	Timestampas_unit)r(   r0   s     r1   test_catch_oobr9   >   sA    
IC	v11	=
Z ((. 
>	=	=s   &A
A%is_localTFc                     SnU (       a  SU S3nOSU S3n[         R                  " [        US9   [        X5      e! , (       d  f       g = f)Nxzlocal variable 'z' is not definedzname 'r)   )r-   r.   r   )r:   variable_namer0   s      r1   #test_catch_undefined_variable_errorr>   F   sM     M /?@}o%56	-S	9$]== 
:	9s	   <
A
c                   :    \ rS rSr\S 5       r\S 5       rS rSrg)FooX   c                     [        U SS9e)Nclassmethod
methodtyper   )clss    r1   rC   Foo.classmethodY   s    !#-@@    c                     [        U SS9e)NpropertyrD   rF   selfs    r1   rK   Foo.property]   s    !$:>>rI   c                     [        U 5      e)NrF   rL   s    r1   method
Foo.methoda   s    !$''rI    N)__name__
__module____qualname____firstlineno__rC   rK   rP   __static_attributes__rR   rI   r1   r@   r@   X   s/    A A ? ?(rI   r@   c                     Sn [         R                  " [        U S9   [        R	                  5         S S S 5        Sn [         R                  " [        U S9   [        5       R
                    S S S 5        Sn [         R                  " [        U S9   [        5       R                  5         S S S 5        g ! , (       d  f       N= f! , (       d  f       N\= f! , (       d  f       g = f)Nz:This classmethod must be defined in the concrete class Foor)   z7This property must be defined in the concrete class Fooz5This method must be defined in the concrete class Foo)r-   r.   r   r@   rC   rK   rP   )xprs    r1   $test_AbstractMethodError_classmethodrZ   e   s    
FC	*#	6 
7 DC	*#	6 
7 BC	*#	6 
7	6 
7	6 
7	6 
7	6s#   B.B?C.
B<?
C
C)r-   pandas.errorsr   r   r+   r6   markparametrizer2   r9   r>   r@   rZ   rR   rI   r1   <module>r^      s    
  	!$JK$J/ >>
( 
(rI   