zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
U
®ý°dïã@sjdZddlmZmZddlZddlZddlZddlm    Z    m
Z
ej j ee    e
ƒdd„ƒƒZ ee
ƒdd„ƒZdS)    aW
Behavioral based tests for offsets and date_range.
 
This file is adapted from https://github.com/pandas-dev/pandas/pull/18761 -
which was more ambitious but less idiomatic in its use of Hypothesis.
 
You may wish to consult the previous version for inspiration on further
tests, or when trying to pin down the bugs exposed by the tests below.
é)ÚassumeÚgivenN)ÚDATETIME_JAN_1_1900_OPTIONAL_TZÚ
YQM_OFFSETc    Cs\t|j ƒz|||}Wn$tjtjfk
r@tdƒYnX| |¡||kksXt‚dS)NF)rÚ    normalizeÚpytzZNonExistentTimeErrorZAmbiguousTimeErrorZ is_on_offsetÚAssertionError)ÚdtÚoffsetÚcompare©r úkd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/tseries/offsets/test_offsets_properties.pyÚtest_on_offset_implementationss  rcCsNt|j ƒtjddddd}|jdk ¡s0t‚||}|jdk ¡sJt‚dS)Nz2017-10-30 12:00:00z
2017-11-06ÚDz
US/Eastern)ÚstartÚendÚfreqÚtzé )rrÚpdZ
date_rangeÚhourÚallr)r
ZdtiÚresr r r Útest_shift_across_dst/s ÿr)Ú__doc__Z
hypothesisrrZpytestrZpandasrZpandas._testing._hypothesisrrÚmarkZarm_slowrrr r r r Ú<module>s