a
    Pf                     @   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   s4  t jtd|d}||s"J || s4J ||trHJ |t|r\J |t	|rnJ |ddgrJ |tddgrJ |t
dddrJ t jtd|dd}t jtd|d	d}||sJ ||sJ h d
|h D ]*}t jtd|d}||rJ qd S )N   )closed      Z20130101)ZperiodsZfoo)r   namebar>   leftrightZbothZneither)r   Zfrom_breaksnpZarangeequalscopyZastypeobjectarraylistr   )selfr   expectedZexpected_name1Zexpected_name2Zother_closedZexpected_other_closed r   b/var/www/ai-form-bot/venv/lib/python3.9/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   