o
    �¨Êh†  ã                   @   sB   d dl Z d dlmZ d dlmZmZ d dlmZ G dd„ dƒZ	dS )é    N)ÚPY311)ÚoffsetsÚperiod_rangec                   @   s   e Zd Zdd„ ZdS )ÚTestFreqc                 C   sˆ   t dddd�}t d ¡� |j W d   ƒ n1 sw   Y  tr#dnd}tjt|d�� t 	¡ |_W d   ƒ d S 1 s=w   Y  d S )NÚ2018Q1é   ÚQ)ÚperiodsÚfreqz5property 'freq' of 'PeriodArray' object has no setterzcan't set attribute)Úmatch)
r   ÚtmÚassert_produces_warningr
   r   ÚpytestÚraisesÚAttributeErrorr   ÚDay)ÚselfÚidxÚmsg© r   ú\/var/www/html/env/lib/python3.10/site-packages/pandas/tests/indexes/period/test_freq_attr.pyÚtest_freq_setter_deprecated   s   ÿÿý"ÿz$TestFreq.test_freq_setter_deprecatedN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   )
r   Úpandas.compatr   Úpandasr   r   Úpandas._testingÚ_testingr   r   r   r   r   r   Ú<module>   s
    