Ë
    ¤eh  ã                   ó*  — d Z ddlmZ ddlmZ ddlmZ ddlmZm	Z	 ddl
mZ ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZmZmZmZ ddlm Z  ddl!m"Z" ddl#m$Z$ ddl%m&Z&  G d„ deeeeeeeeeeeeeee e"e$e&e«      Z'de(fd„Z)y)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                   ó   — e Zd Zy)ÚExtensionTestsN)Ú__name__Ú
__module__Ú__qualname__© ó    úb/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pandas/tests/extension/base/__init__.pyr   r   E   s   „ ð* 	r   r   Únamec                 óú   — dd l }| dk(  r|j                  dt        «       ddlm} |S | dk(  r|j                  dt        «       ddlm} |S | dk(  r|j                  d	t        «       dd
lm} |S t        d| › d�«      ‚)Nr   ÚBaseNoReduceTestszˆBaseNoReduceTests is deprecated and will be removed in a future version. Use BaseReduceTests and override `_supports_reduction` instead.)r"   ÚBaseNumericReduceTestsz�BaseNumericReduceTests is deprecated and will be removed in a future version. Use BaseReduceTests and override `_supports_reduction` instead.)r#   ÚBaseBooleanReduceTestsz�BaseBooleanReduceTests 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>r>      sž   ðñ#õH GÝ @Ý J÷õ =Ý @Ý @Ý <Ý DÝ ;Ý @Ý @÷ó õ CÝ >Ý DÝ @ô	ØØØØØØØØØØØØØØØØØØØô'	ð0&�cô &r   