
    If                         d dl Z d dlmZmZmZmZ d dlmZ e j	        
                    d          Ze j	                            dd d g          d             ZdS )    N)Series	TimedeltaTimedeltaIndextimedelta_rangez.ignore:Setting a value on a view:FutureWarningconsc                      t          |           S Nr   xs    r/var/www/ffwdstore.be/apps/py-env/lib/python3.11/site-packages/pandas/tests/copy_view/index/test_timedeltaindex.py<lambda>r      s    .##     c                 :    t          t          |                     S r	   r
   r   s    r   r   r      s    .!2!233 r   c                     t          dd          }t          |          } ||          }|                    d          }t          d          |j        d<   | rt          j        ||           d S d S )Nz1 day   )periodsT)deepz5 daysr   )r   r   copyr   iloctmassert_index_equal)using_copy_on_writer   dtseridxexpecteds         r   test_timedeltaindexr      s     
!	,	,	,B
**C
$s))CxxTx""HH%%CHQK -
c8,,,,,- -r   )pytestpandasr   r   r   r   pandas._testing_testingr   markfilterwarnings
pytestmarkparametrizer    r   r   <module>r(      s                     [''4 

 
##33 - - - - -r   