
    is                         d dl mZ d dlZd dlmZmZ d dlmZ ej                  j                  dg d      ej                  j                  ed      d	               Zy)
    )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(  rKt         rt        r?t        |t              r/| j	                  t
        j                  j                  d             t        dd||      }|j                  |k(  sJ y )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         s/app/cer_product_mecsu/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/test_resolution.pytest_dti_resolutionr)      se      
Bt|dtB1HKK%MN	
 <$2
FC>>X%%%    )dateutil.tzr   r    pandas.compatr   r   pandasr   r!   parametrizeskipifr)    r*   r(   <module>r1      s`     
  
 D!AB& C&r*   