hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Ë
oñúhãó*—dZddlmZddlmZddlmZddlmZm    Z    ddl
m Z ddl m Z ddlmZdd    lmZdd
lmZdd lmZdd lmZdd lmZddlmZmZmZmZddlm Z ddl!m"Z"ddl#m$Z$ddl%m&Z&Gd„deeee e 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ó —eZdZy)ÚExtensionTestsN)Ú__name__Ú
__module__Ú __qualname__©óúWH:\Change_password\venv_build\Lib\site-packages\pandas/tests/extension/base/__init__.pyrrEs„ð*    rrÚnamecóú—ddl}|dk(r|jdt«ddlm}|S|dk(r|jdt«ddlm}|S|dk(r|jd    t«dd
lm}|Std |›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ó ðrN)*Ú__doc__Ú&pandas.tests.extension.base.accumulaterÚ#pandas.tests.extension.base.castingrÚ(pandas.tests.extension.base.constructorsrÚ pandas.tests.extension.base.dim2rrÚ!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.opsrrrrÚ$pandas.tests.extension.base.printingrr)rÚ%pandas.tests.extension.base.reshapingrÚ#pandas.tests.extension.base.setitemrrÚstrr+rrrú<module>r>sžðñ#õHGÝ@ÝJ÷õ=Ý@Ý@Ý<ÝDÝ;Ý@Ý@÷óõ CÝ>ÝDÝ@ô    ØØØØØØØØØØØØØØØØØØØô'    ð0&cô&r