
    A>i                        S SK r S SKrS SKJrJrJrJrJrJrJ	r	  S SK
rS SKJ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\R                  R!                  S\\4\\4\\4\\4/5      S 5       r\R                  R!                  S\\4\\4\\4\\4/5      S 5       rg)    N)AbstractMethodErrorPandas4WarningPandas5WarningPandasChangeWarningPandasDeprecationWarningPandasPendingDeprecationWarning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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       W/var/www/html/land-tabula/venv/lib/python3.13/site-packages/pandas/tests/test_errors.pytest_exception_importabler5      s?    H 
&
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+   r0   r1   r   pd	Timestampas_unit)r+   r3   s     r4   test_catch_oobr<   D   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,   )r0   r1   r	   )r=   variable_namer3   s      r4   #test_catch_undefined_variable_errorrA   L   sK    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    r4   rF   Foo.classmethodY   s    !#-@@    c                     [        U SS9e)NpropertyrG   rI   selfs    r4   rN   Foo.property]   s    !$:>>rL   c                     [        U 5      e)NrI   rO   s    r4   method
Foo.methoda   s    !$''rL    N)__name__
__module____qualname____firstlineno__rF   rN   rS   __static_attributes__rU   rL   r4   rC   rC   X   s/    A A ? ?(rL   rC   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)r0   r1   r   rC   rF   rN   rS   )xprs    r4   $test_AbstractMethodError_classmethodr]   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zwarn_category, catch_categoryc                     [         R                  " U5         [        R                  " SU S9  S S S 5        g ! , (       d  f       g = f)Ntestcategory)tmassert_produces_warningwarningswarn)warn_categorycatch_categorys     r4   test_pandas_warningsrh   s   s,     
	#	#N	3f}5 
4	3	3s	   6
Azwarn_category, filter_categoryc                    [         R                  " S 5         [        R                  " 5          [        R                  " USS9  [        R
                  " SU S9  S S S 5        S S S 5        g ! , (       d  f       N= f! , (       d  f       g = f)Nignore)ra   actionr_   r`   )rb   rc   rd   catch_warningsfilterwarningsre   )rf   filter_categorys     r4   test_pandas_warnings_filterro      sU     
	#	#D	)8+B+B+DJf}5 ,E	)	)+D+D	)	)s"   A:+A)A:)
A7	3A::
B)rd   r0   pandas.errorsr   r   r   r   r   r   r	   r.   r9   pandas._testing_testingrb   markparametrizer5   r<   rA   rC   r]   rh   ro   rU   rL   r4   <module>ru      s+         	"FG"F/ dE]3> 4>
( 
( #	,-	12	,-	89	66 $	,-	12	,-	89	66rL   