
    Pi                     D    d dl Z d dlmZmZ d dlmZ  G d d          ZdS )    N)offsetsperiod_rangec                       e Zd Zd ZdS )TestFreqc                 ,   t          ddd          }t          j        d           5  |j         d d d            n# 1 swxY w Y   d}t	          j        t          |          5  t          j                    |_        d d d            d S # 1 swxY w Y   d S )N2018Q1   Q)periodsfreqz5property 'freq' of 'PeriodArray' object has no setter)match)	r   tmassert_produces_warningr   pytestraisesAttributeErrorr   Day)selfidxmsgs      ~/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/pandas/tests/indexes/period/test_freq_attr.pytest_freq_setter_deprecatedz$TestFreq.test_freq_setter_deprecated   s   8QS999 '-- 	 	HH	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 F]>555 	% 	%{}}CH	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	%s   ;??#B		BBN)__name__
__module____qualname__r        r   r   r   
   s#        % % % % %r   r   )r   pandasr   r   pandas._testing_testingr   r   r   r   r   <module>r!      s|                 % % % % % % % % % %r   