
    Owg              
          d dl Z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    [/var/www/horilla/myenv/lib/python3.12/site-packages/pandas/tests/arrays/integer/conftest.pydtyper      s     ==?    c           	          t        j                  t        t        d            t        j
                  gz   t        t        dd            z   t        j
                  gz   ddgz   |       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.
       
   b   c   d   r   )pdarraylistrangenpnanr   s    r   datar    "   sR     88U1X"&&!Dr2$77266(Bb#YN 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   r   r   s    r   data_missingr#   0   s     88RVVQKu--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   )numpyr   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   