
    Pis                         d dl mZ d dlZd dlmZmZ d dlmZ ej        	                    dg d          ej        
                    ed          d	                         ZdS )
    )tzlocalN)IS64WASM)
date_rangezfreq,expected)	)YEday)QEr   )MEr   )Dr   )hhour)minminute)ssecond)msmillisecond)usmicrosecondzOverflowError received on WASMreasonc                    |}|dk    rVt           rt          rHt          |t                    r3|                     t
          j                            d                     t          dd||          }|j	        |k    sJ d S )Nr   z&OverflowError inside tzlocal past 2038r   z
2013-04-01   )startperiodsfreqtz)
r   r   
isinstancer   applymarkerpytestmarkxfailr   
resolution)requesttz_naive_fixturer   expectedr   idxs         /home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/pandas/tests/indexes/datetimes/methods/test_resolution.pytest_dti_resolutionr)      s      
Bt||d|t|B1H1H|K%MNN	
 	
 	
 <$2
F
F
FC>X%%%%%%    )dateutil.tzr   r    pandas.compatr   r   pandasr   r!   parametrizeskipifr)    r*   r(   <module>r1      s                 
       
 
 
  D!ABB& & CB & & &r*   