o
    _~#g                  	   @   s   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dd Zejdd Zejdd	 Zejdd	gdd
d ZdS )    N)	Int8Dtype
Int16Dtype
Int32Dtype
Int64Dtype
UInt8DtypeUInt16DtypeUInt32DtypeUInt64Dtype)paramsc                 C   s   |   S )z.Parametrized fixture returning integer 'dtype'param)request r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/pandas/tests/arrays/integer/conftest.pydtype   s   r   c                 C   s<   t jttdtjg ttdd tjg ddg | d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   r   r   r   data"   s   0r   c                 C   s   t jtjdg| d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   r   r   r   data_missing0   s   r   c                 C   s    | j dkr|S | j dkr|S dS )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   r   r   r   all_data;   s
   

r    )numpyr   pytestpandasr   pandas.core.arrays.integerr   r   r   r   r   r   r   r	   fixturer   r   r   r    r   r   r   r   <module>   s,    (



