a
    DBìj  ã                   @   sJ   d dl mZ d dlZd dlmZ d dlmZ ej dg d¢¡dd„ ƒZ	dS )	é    )ÚtzlocalN)ÚIS64)Ú
date_rangezfreq,expected)	)ÚYEÚday)ZQEr   )ZMEr   )ÚDr   )ÚhÚhour)ÚminÚminute)ÚsÚsecond)ÚmsZmillisecond)ÚusÚmicrosecondc                 C   sP   |}|dkr.t s.t|tƒr.|  tjjdd�¡ tdd||d�}|j|ksLJ ‚d S )Nr   z&OverflowError inside tzlocal past 2038)Úreasonz
2013-04-01é   )ÚstartZperiodsÚfreqÚtz)	r   Ú
isinstancer   ZapplymarkerÚpytestÚmarkZxfailr   Ú
resolution)ÚrequestZtz_naive_fixturer   Úexpectedr   Úidx© r   úu/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/pandas/tests/indexes/datetimes/methods/test_resolution.pyÚtest_dti_resolution	   s    ÿr   )
Zdateutil.tzr   r   Zpandas.compatr   Zpandasr   r   Zparametrizer   r   r   r   r   Ú<module>   s   þ