| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pandas/tests/extension/base/__pycache__/ |
Upload File : |
�
/ �g � �* � d Z ddlmZ ddlmZ ddlmZ ddlmZm Z ddl
mZ ddlm
Z
ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZmZmZmZ ddlm Z ddl!m"Z" ddl#m$Z$ ddl%m&Z& G d� deeeee
eeeeeeeeee e"e$e&e� Z'de(fd�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 Zd Zy)�ExtensionTestsN)�__name__�
__module__�__qualname__� � �FC:\Python312\Lib\site-packages\pandas/tests/extension/base/__init__.pyr r E s � �* r r �namec � � dd l }| dk( r|j dt � ddlm} |S | dk( r|j dt � ddlm} |S | dk( r|j d t � dd
lm} |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"