o
    թZh                     @   s*   d dl Zd dlmZmZ G dd dZdS )    N)IntervalIndex
date_rangec                   @   s   e Zd Zdd ZdS )
TestEqualsc                 C   s0  t jtd|d}||sJ || sJ ||tr$J |t|r.J |t	|r7J |ddgr@J |tddgrLJ |t
dddrWJ t jtd|dd}t jtd|d	d}||stJ ||s{J h d
|h D ]}t jtd|d}||rJ qd S )N   )closed      Z20130101)ZperiodsZfoo)r   namebar>   leftZneitherZbothright)r   Zfrom_breaksnpZarangeequalscopyZastypeobjectarraylistr   )selfr   expectedZexpected_name1Zexpected_name2Zother_closedZexpected_other_closed r   `/var/www/html/lang_env/lib/python3.10/site-packages/pandas/tests/indexes/interval/test_equals.pytest_equals
   s.   
zTestEquals.test_equalsN)__name__
__module____qualname__r   r   r   r   r   r   	   s    r   )numpyr   Zpandasr   r   r   r   r   r   r   <module>   s    