o
    7?e                     @   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 )NZ2018Q1   Q)Zperiodsfreqz5property 'freq' of 'PeriodArray' object has no setterzcan't set attribute)match)
r   tmZassert_produces_warningr   r   pytestZraisesAttributeErrorr   ZDay)selfidxmsg r   k/home/www/facesmatcher.com/pyenv/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   Zpandas.compatr   Zpandasr   r   Zpandas._testingZ_testingr
   r   r   r   r   r   <module>   s
    