+
    yȇi+'                     `    ^ RI H t Ht ^ RIt^ RIt^ RIt^ RIHt ^ RIH	t
  ! R R4      tR tR# )    )datetime	timedeltaN	Timestampc                      a  ] tR t^t o R tR t]P                  P                  RRR.4      R 4       t	R t
R tR	 t]P                  P                  R
RR.4      R 4       tR tR tR tR tR tRtV tR# )TestTimestampComparisonc                X    \         P                  ! R 4      p\        V4      pW8X  g   Q hR# )z
1066-10-14N)np
datetime64r   )selfdttss   &  ~/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/scalar/timestamp/test_comparisons.pytest_compare_non_nano_dt642TestTimestampComparison.test_compare_non_nano_dt64   s"    ]]<(r]xx    c                   \        R 4      p\        R4      p\        P                  ! VP                  VP                  ..RR7      pW8H  p\        P                  ! RR..\        R7      p\
        P                  ! WE4       W18H  p\
        P                  ! WE4       W8g  p\
        P                  ! WE( 4       W18g  p\
        P                  ! WE( 4       W#8  p\
        P                  ! WE4       W28  p\
        P                  ! V\        P                  ! RR..\        R7      4       W#8*  p\
        P                  ! V\        P                  ! RR..\        R7      4       W28*  p\
        P                  ! WE( 4       W8  p\
        P                  ! V\        P                  ! RR..\        R7      4       W18  p\
        P                  ! V\        P                  ! RR..\        R7      4       R# )z
2021-01-01z
2019-04-05M8[ns]dtypeTFN)r   r
   arrayasm8booltmassert_numpy_array_equal)r   r   ts2arrresultexpecteds   &     r   test_comparison_dt64_ndarray4TestTimestampComparison.test_comparison_dt64_ndarray   sq   |$%hh#((+,H=88dE]O48
##F5
##F5
##FI6
##FI6
##F5
##FBHHuen5ET,RS
##FBHHtTl^4,PQ
##FI6
##FBHHtTl^4,PQ
##FBHHtUm_D,QRr   reverseTFc                r   \        R RR7      p\        P                  ! VP                  VP                  .RR7      pY4reV'       d   YCreV\        P
                  J d?   \        P                  ! RR.\        R7      pV! WV4      p\        P                  ! W4       R	# V\        P                  J d?   \        P                  ! RR.\        R7      pV! WV4      p\        P                  ! W4       R	# Rp	\        P                  ! \        V	R7      ;_uu_ 4        V! WV4       R	R	R	4       R	#   + '       g   i     R	# ; i)
2021-01-01 00:00:00.00000UTCtzr   r   FT/Cannot compare tz-naive and tz-aware timestampsmatchN)r   r
   r   r   operatoreqr   r   r   nepytestraises	TypeError)
r   r"   comparison_opr   r   leftrightr   r   msgs
   &&&       r   $test_comparison_dt64_ndarray_tzaware<TestTimestampComparison.test_comparison_dt64_ndarray_tzaware:   s    2u=hh):e%HKK'xxd;H"4/F''9hkk)xxtD9H"4/F''9CCy44d* 5444s   	D%%D6	c                   \        R RR7      p\        RRR7      p\        R4      p\        P                  ! W!.\        R7      pWA8H  p\        P                  ! RR.\        R7      pWV8H  P                  4       '       g   Q h\        P                  ! W!.W..\        R7      pWA8g  p\        P                  ! RR.RR..\        R7      pVP                  VP                  8X  g   Q hWV8H  P                  4       '       g   Q h\        P                  ! V.\        R7      pRp\        P                  ! \        VR	7      ;_uu_ 4        WA8   R
R
R
4       R
#   + '       g   i     R
# ; i)z2011-01-03 00:00:00-0500z
US/Easternr&   z2011-01-01 00:00:00-0500z2011-01-01 00:00:00r   FTr(   r)   N)
r   r
   r   objectr   allshaper.   r/   r0   )r   r   othernaiver   resr   r4   s   &       r   test_comparison_object_array4TestTimestampComparison.test_comparison_object_arrayP   s   1lC4F/0hh{&1i88UDM6$$&&&& hhb[1@i88dE]UDM:$GyyHNN***$$&&&& hhwf-?]]9C00H 1000s   ?EE	c                ~   R p\        V4      pW"8X  g   Q hW"8w  d   Q hW"8  d   Q hW"8:  g   Q hW"8  d   Q hW"8  g   Q h\        R^^4      pW#8X  g   Q hW#8w  d   Q hW#8  d   Q hW#8:  g   Q hW#8  d   Q hW#8  g   Q h\        V^d,           4      pW#8w  g   Q hW#8w  g   Q hW#8  g   Q hW#8:  g   Q hW28  g   Q hW28  g   Q hR# )l     |%*x i  N)r   r   )r   stampvalr;   s   &   r   test_comparison'TestTimestampComparison.test_comparisonh   s    #zz:~9}zz9}zzq"%||<;||;||%#+&||||{{||{{||r   c                   \        R 4      pVR8X  d   Q hVR8X  d   Q hV^8X  d   Q hV. 8X  d   Q hVR^/8X  d   Q hV\        P                  ! ^4      8X  d   Q hV\        P                  ! ^4      8X  d   Q hVR8w  g   Q hVR8w  g   Q hV^8w  g   Q hV. 8w  g   Q hVR^/8w  g   Q hV\        P                  ! ^4      8w  g   Q hV\        P                  ! ^4      8w  g   Q hR# )z20130101 12:01:02foog      $@N)r   r
   float64int64)r   rB   s   & r   test_compare_invalid,TestTimestampComparison.test_compare_invalid   s    +,%<$;!8|"9}5!*$$$"**Q-'''"((1+%%%e||d{{axxbyyuaj   bjjm###bhhqk!!!r   r'   Nz
US/Pacificc                   \        R VR7      pVP                  4       P                  4       pRpW#3W233 F  w  rVWV8X  d   Q hWV8w  g   Q h\        P                  ! \
        VR7      ;_uu_ 4        WV8   RRR4       \        P                  ! \
        VR7      ;_uu_ 4        WV8*   RRR4       \        P                  ! \
        VR7      ;_uu_ 4        WV8   RRR4       \        P                  ! \
        VR7      ;_uu_ 4        WV8   RRR4       K  	  R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     Lm; i  + '       g   i     EK*  ; i)r$   r&   z+Cannot compare Timestamp with datetime.dater)   N)r   to_pydatetimedater.   r/   r0   )r   r'   r   r   r4   r2   r3   s   &&     r   test_compare_date)TestTimestampComparison.test_compare_date   s     2r:$$& <Hrh/KD}$$= =y44 5y44 5y44 5y44 54 0 544444444s0   -DD&D9 ED#&D69E	Ec                    \        R 4      p\        R VR7      pRpW#8X  d   Q hW#8w  g   Q h\        P                  ! \        VR7      ;_uu_ 4        W#8   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W#8*   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W#8   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W#8   RRR4       W28X  d   Q hW28w  g   Q h\        P                  ! \        VR7      ;_uu_ 4        W28   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W28*   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W28   RRR4       \        P                  ! \        VR7      ;_uu_ 4        W28   RRR4       W#P	                  4       8X  d   Q hVP	                  4       V8X  d   Q hR#   + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     ELm; i  + '       g   i     ELP; i  + '       g   i     EL#; i  + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     L; i)z	3/12/2012r&   r(   r)   N)r   r.   r/   r0   rL   )r   utc_fixtureabr4   s   &&   r   "test_cant_compare_tz_naive_w_aware:TestTimestampComparison.test_cant_compare_tz_naive_w_aware   s   k"kk2?6zvv]]9C00E 1]]9C00F 1]]9C00E 1]]9C00F 1 6zvv]]9C00E 1]]9C00F 1]]9C00E 1]]9C00F 1 ))))??$))))+ 100000000000
 1000000000s`   G2 H1H"H.#III*6I=2H	H	H+	.H?	I	I'	*I:	=J	c                b   \         P                  ! \        R ^^4      4      p\        R4      p\        R4      pRRRRRRRRRRRR/pVP	                  4        FU  w  rV\        \        V4      p\        \        V4      pV! W4      p	V! W!4      p
W8X  g   Q hV! W#4      p	V! W24      p
W8X  d   KU  Q h	  R	# )
i  nownatgtltgeler,   r-   N)r
   r   r   r   itemsgetattrr+   )r   lhsrhsrX   opsr2   r3   left_fright_fr   r   s   &          r   test_timestamp_compare_scalars6TestTimestampComparison.test_timestamp_compare_scalars   s    mmHT2q12T4tT4tT4QUV99;KDXt,Fh.Gc'HS&F%%%c'HS&F%%% 'r   c                H   \        R 4      pV\        P                  8X  d   Q hV\        R^^4      8X  d   Q hV\        R^^4      8X  d   Q hV\        P                  8w  g   Q hV\        R^^4      8w  g   Q hV\        R^^4      8w  g   Q hV\        R^^4      8  g   Q hV\        R^^4      8  g   Q hV\        R^^4      8  g   Q hV\        R^^4      8:  g   Q h\         P                  P                  RR7      pV\	        ^R7      ,
          \         P                  8  g   Q hR# )z
2012-01-01i@  i
  F)warn)microsecondsN)r   r   minrL   r   )r   rA   r;   s   &  r   *test_timestamp_compare_with_early_datetimeBTestTimestampComparison.test_timestamp_compare_with_early_datetime   s   ,'HLL(((HT1a0000HT1a0000$$$q!,,,,q!,,,,xa++++q!,,,,xa++++q!,,,,+++7ya009==@@@r   c                h   \         P                  ! ^R4      p\         P                  ! \        P                  4      P                  R4      p\        P                  V8  g   Q h\         P                  ! \        P                  4      P                  R4      p\        P                  V8  g   Q hV\        P                  8  g   Q h\        P                  W!,           8  g   Q h\        R^	^	4      p\        P                  V8  g   Q hV\        P                  8  g   Q h\        P                  V8  g   Q hV\        P                  8  g   Q h\        ^^^4      p\        P                  V8  g   Q hV\        P                  8  g   Q h\        P                  V8  g   Q hV\        P                  8  g   Q hR# )   uszM8[us]i'  N)r
   timedelta64r   r   ri   astypemaxr   )r   rn   r;   s   &  r   test_timestamp_compare_oob_dt647TestTimestampComparison.test_timestamp_compare_oob_dt64   sH   ^^At$imm,33H= }}u$$$ imm,33H=}}u$$$y}}$$$}}uz))) q!$}}u$$$y}}$$$}}u$$$y}}$$$Aq!}}u$$$y}}$$$}}u$$$y}}$$$r   c                
   Tp\         P                  ! R R4      p\         P                  ! V4      pVP                  ^ 8X  g   Q hWB8  pV\         P                  ! R4      J g   Q hWB8  pV\         P                  ! R4      J g   Q hR# )z
2016-01-01nsTFN)r
   r   r   ndimbool_)r   fixed_now_tsr   dt64r   r   s   &&    r   test_compare_zerodim_array2TestTimestampComparison.test_compare_zerodim_array  sn    }}\40hhtnxx1}}$'''%(((r    )__name__
__module____qualname____firstlineno__r   r    r.   markparametrizer5   r>   rC   rI   rN   rT   rd   rj   rr   rz   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     "SH [[Yu6+ 7+*0<"& [[TD,#78 9**>&(A$%:
) 
)r   r   c                     a  ! V3R  lR4      oS! 4       p \        R4      pW3W33 F1  w  r#W#8  g	   W#8  g   Q hW#8  g	   W#8:  g   Q hW#8X  d   Q hW#8w  d   K1  Q h	  R# )c                   ^   <a  ] tR tRt o R tV3R ltV3R ltR tV 3R lV3R lltRt	V t
R	# )
7test_rich_comparison_with_unsupported_type.<locals>.Infi"  c                    R # )Fr|   r   os   &&r   __lt__>test_rich_comparison_with_unsupported_type.<locals>.Inf.__lt__#  s    r   c                   < \        VS4      # N
isinstancer   r   Infs   &&r   __le__>test_rich_comparison_with_unsupported_type.<locals>.Inf.__le__&  s    a%%r   c                &   < \        VS4      '       * # r   r   r   s   &&r   __gt__>test_rich_comparison_with_unsupported_type.<locals>.Inf.__gt__)  s    !!S)))r   c                    R # )Tr|   r   s   &&r   __ge__>test_rich_comparison_with_unsupported_type.<locals>.Inf.__ge__,  s    r   c                    < V ^8  d   QhRS[ /# )   return)r   )formatr   s   "r   __annotate__Dtest_rich_comparison_with_unsupported_type.<locals>.Inf.__annotate__/  s     	* 	*4 	*r   c                   < \        VS4      # r   r   )r   r;   r   s   &&r   __eq__>test_rich_comparison_with_unsupported_type.<locals>.Inf.__eq__/  s    eS))r   r|   N)r}   r~   r   r   r   r   r   r   r   r   r   )r   r   s   @r   r   r   "  s(     		&	*		* 	* 	*r   r   z
2018-11-30Nr   )inf	timestampr2   r3   r   s       @r   *test_rich_comparison_with_unsupported_typer     sj    * *  %C,'I(9*:;|t|++}--=  }}	 <r   )r   r   r+   numpyr
   r.   pandasr   pandas._testing_testingr   r   r   r|   r   r   <module>r      s-        M) M)`r   