
    .i              
           d dl Z d dlZd dlmZmZmZmZmZm	Z	m
Z
mZ  e j                  eeeeee	e
eg      d        Ze j                  d        Ze j                  d        Z e j                  ddg      d	        Zy)
    N)	Int8Dtype
Int16Dtype
Int32Dtype
Int64Dtype
UInt8DtypeUInt16DtypeUInt32DtypeUInt64Dtype)paramsc                 "    | j                         S )z.Parametrized fixture returning integer 'dtype'param)requests    b/var/www/app/trading-bot/venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/conftest.pydtyper      s     ==?    c                 |    t        j                  ddddt         j                  ddt         j                  ddg
| 	      S )
z
    Fixture returning 'data' array with valid and missing values according to
    parametrized integer 'dtype'.

    Used to test dtype conversion with and without missing values.
    r            
      c   d   r   pdarrayNAr   s    r   datar    !   s8     88	
Aq!RUUBBEE2s3 r   c                 P    t        j                  t         j                  dg|       S )z
    Fixture returning array with exactly one NaN and one valid integer,
    according to parametrized integer 'dtype'.

    Used to test dtype conversion with and without missing values.
    r   r   r   r   s    r   data_missingr"   /   s     88RUUAJe,,r   r    r"   c                 H    | j                   dk(  r|S | j                   dk(  r|S y)zParametrized fixture returning 'data' or 'data_missing' integer arrays.

    Used to test dtype conversion with and without missing values.
    r    r"   Nr   )r   r    r"   s      r   all_datar$   :   s,     }}	.	( 
)r   )pytestpandasr   pandas.core.arrays.integerr   r   r   r   r   r   r	   r
   fixturer   r    r"   r$    r   r   <module>r*      s     	 	 	 	
 
 
 - - /0 1r   