o
    _~#g                     @   s6   d dl Zd dlmZmZ d dlmZ G dd dZdS )    N)CategoricalSeriesc                   @   s   e Zd Zdd Zdd ZdS )TestCategoricalComparisonsc                 C   s:   t tdddtjg}t g d}||k}t|| d S )Nabc)TTTF)r   r   npnantmassert_series_equal)selfcatexpectedresult r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/pandas/tests/arithmetic/test_categorical.pytest_categorical_nan_equality   s   z8TestCategoricalComparisons.test_categorical_nan_equalityc                 C   sJ   t g d}t g d}|dk}t|| |ddk}t|| d S )N)r   r   )r      r   )r   r   )r   r   )TFTFFr   category)r   r
   r   astype)r   serr   r   r   r   r   test_categorical_tuple_equality   s   z:TestCategoricalComparisons.test_categorical_tuple_equalityN)__name__
__module____qualname__r   r   r   r   r   r   r   
   s    r   )	numpyr   pandasr   r   pandas._testing_testingr
   r   r   r   r   r   <module>   s    