o
    ŀg                     @   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)QEr   )MEr   )Dr   )hhour)minminute)ssecond)msmillisecond)usmicrosecondc                 C   sP   |}|dkrt st|tr| tjjdd tdd||d}|j|ks&J d S )Nr   z&OverflowError inside tzlocal past 2038)reasonz
2013-04-01   )startperiodsfreqtz)	r   
isinstancer   applymarkerpytestmarkxfailr   
resolution)requesttz_naive_fixturer   expectedr   idx r$   j/var/www/html/myenv/lib/python3.10/site-packages/pandas/tests/indexes/datetimes/methods/test_resolution.pytest_dti_resolution	   s   r&   )
dateutil.tzr   r   pandas.compatr   pandasr   r   parametrizer&   r$   r$   r$   r%   <module>   s    