o
    _~#g                     @   sN   d dl Zd dlZd dlmZmZmZ d dlmZ	 d dl
mZ G dd dZdS )    N)NaTPeriodIndexperiod_range)offsetsc                   @   s.   e Zd Zejdg ddd Zdd ZdS )
TestPicklefreq)DMYc                 C   s0   t ddttjg|d}t|}t|| d S )Nz
2016-05-16r   r   )r   r   npnantmround_trip_pickleassert_index_equal)selfr   idxresult r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/pandas/tests/indexes/period/test_pickle.pytest_pickle_round_trip   s   
z!TestPickle.test_pickle_round_tripc                 C   s<   t dddd}t|}|jt ksJ |jdksJ d S )Nz1/1/2011z1/1/2012r	   r   )r   r   r   r   r   MonthEndfreqstr)r   prngnew_prngr   r   r   test_pickle_freq   s   
zTestPickle.test_pickle_freqN)__name__
__module____qualname__pytestmarkparametrizer   r   r   r   r   r   r      s    
r   )numpyr   r   pandasr   r   r   pandas._testing_testingr   pandas.tseriesr   r   r   r   r   r   <module>   s    