
    Mh                     ,   S r SSKJr  SSKJr  SSKJr  SSKJrJ	r	  SSK
Jr  SSKJr  SSKJr  SS	KJr  SS
KJr  SSKJr  SSKJr  SSKJr  SSKJrJrJrJr  SSKJ r   SSK!J"r"  SSK#J$r$  SSK%J&r&   " S S\\\\\\\\\\\\\\\ \"\$\&\5      r'S\(4S jr)g)a  
Base test suite for extension arrays.

These tests are intended for third-party libraries to subclass to validate
that their extension arrays and dtypes satisfy the interface. Moving or
renaming the tests should not be done lightly.

Libraries are expected to implement a few pytest fixtures to provide data
for the tests. The fixtures may be located in either

* The same module as your test class.
* A ``conftest.py`` in the same directory as your test class.

The full list of fixtures may be found in the ``conftest.py`` next to this
file.

.. code-block:: python

   import pytest
   from pandas.tests.extension.base import BaseDtypeTests


   @pytest.fixture
   def dtype():
       return MyDtype()


   class TestMyDtype(BaseDtypeTests):
       pass


Your class ``TestDtype`` will inherit all the tests defined on
``BaseDtypeTests``. pytest's fixture discover will supply your ``dtype``
wherever the test requires it. You're free to implement additional tests.

    )BaseAccumulateTests)BaseCastingTests)BaseConstructorsTests)Dim2CompatTestsNDArrayBacked2DTests)BaseDtypeTests)BaseGetitemTests)BaseGroupbyTests)BaseIndexTests)BaseInterfaceTests)BaseParsingTests)BaseMethodsTests)BaseMissingTests)BaseArithmeticOpsTestsBaseComparisonOpsTestsBaseOpsUtilBaseUnaryOpsTests)BasePrintingTests)BaseReduceTests)BaseReshapingTests)BaseSetitemTestsc                       \ rS rSrSrg)ExtensionTestsE    N)__name__
__module____qualname____firstlineno____static_attributes__r       V/var/www/html/env/lib/python3.13/site-packages/pandas/tests/extension/base/__init__.pyr   r   E   s    * 	r!   r   namec                     SS K nU S:X  a  UR                  S[        5        SSKJn  U$ U S:X  a  UR                  S[        5        SSKJn  U$ U S:X  a  UR                  S	[        5        SS
KJn  U$ [        SU  S35      e)Nr   BaseNoReduceTestszBaseNoReduceTests is deprecated and will be removed in a future version. Use BaseReduceTests and override `_supports_reduction` instead.)r%   BaseNumericReduceTestszBaseNumericReduceTests is deprecated and will be removed in a future version. Use BaseReduceTests and override `_supports_reduction` instead.)r&   BaseBooleanReduceTestszBaseBooleanReduceTests is deprecated and will be removed in a future version. Use BaseReduceTests and override `_supports_reduction` instead.)r'   z7module 'pandas.tests.extension.base' has no attribute '')warningswarnFutureWarning"pandas.tests.extension.base.reducer%   r&   r'   AttributeError)r#   r)   r%   r&   r'   s        r"   __getattr__r.   ]   s    ""- 		
 	I  	)	)- 		
 	N%%	)	)- 		
 	N%%

A$qI r!   N)*__doc__&pandas.tests.extension.base.accumulater   #pandas.tests.extension.base.castingr   (pandas.tests.extension.base.constructorsr    pandas.tests.extension.base.dim2r   r   !pandas.tests.extension.base.dtyper   #pandas.tests.extension.base.getitemr	   #pandas.tests.extension.base.groupbyr
   !pandas.tests.extension.base.indexr   %pandas.tests.extension.base.interfacer   pandas.tests.extension.base.ior   #pandas.tests.extension.base.methodsr   #pandas.tests.extension.base.missingr   pandas.tests.extension.base.opsr   r   r   r   $pandas.tests.extension.base.printingr   r,   r   %pandas.tests.extension.base.reshapingr   #pandas.tests.extension.base.setitemr   r   strr.   r   r!   r"   <module>rA      s   #H G @ J = @ @ < D ; @ @  C > D @	'	0&c &r!   