Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/pandas/tests/extension/base/__pycache__/__init__.cpython-37.pyc
Назад
B �5�g1 � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m Z ddlmZ ddl mZ dd lmZ dd lmZ ddlmZ ddlmZmZmZmZ dd lmZ ddlmZmZmZ ddl m!Z! ddl"m#Z# dS )aL 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. All the tests in these modules use ``self.assert_frame_equal`` or ``self.assert_series_equal`` for dataframe or series comparisons. By default, they use the usual ``pandas.testing.assert_frame_equal`` and ``pandas.testing.assert_series_equal``. You can override the checks used by defining the staticmethods ``assert_frame_equal`` and ``assert_series_equal`` on your base test class. � )�BaseCastingTests)�BaseConstructorsTests)�Dim2CompatTests)�BaseDtypeTests)�BaseGetitemTests)�BaseGroupbyTests)�BaseInterfaceTests)�BaseParsingTests)�BaseMethodsTests)�BaseMissingTests)�BaseArithmeticOpsTests�BaseComparisonOpsTests�BaseOpsUtil�BaseUnaryOpsTests)�BasePrintingTests)�BaseBooleanReduceTests�BaseNoReduceTests�BaseNumericReduceTests)�BaseReshapingTests)�BaseSetitemTestsN)$�__doc__Z#pandas.tests.extension.base.castingr Z(pandas.tests.extension.base.constructorsr Z pandas.tests.extension.base.dim2r Z!pandas.tests.extension.base.dtyper Z#pandas.tests.extension.base.getitemr Z#pandas.tests.extension.base.groupbyr Z%pandas.tests.extension.base.interfacer Zpandas.tests.extension.base.ior Z#pandas.tests.extension.base.methodsr Z#pandas.tests.extension.base.missingr Zpandas.tests.extension.base.opsr r r r Z$pandas.tests.extension.base.printingr Z"pandas.tests.extension.base.reducer r r Z%pandas.tests.extension.base.reshapingr Z#pandas.tests.extension.base.setitemr � r r �Z/home/digitalm-up/venv/lib/python3.7/site-packages/pandas/tests/extension/base/__init__.py�<module>+ s
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка