+
    xȇio(                        R t ^ RIHt ^ RIt^ RIt^ RIt^ RIHtHt ^ RI	t
^ RIHt ^ RIHtHt ]P"                  P%                  R4      t]P(                  ! R4      t]P"                  P,                   ! R R4      4       tR# )	ztest feather-format compat)datetimeN)pa_version_under18p0pa_version_under19p0)read_feather
to_featherz=ignore:Passing a BlockManager to DataFrame:DeprecationWarningpyarrowc                   :  a  ] tR t^t o R tR tRR ltR tR tR t	R t
R	 tR
 tR tR tR t]P"                  P$                  ]P"                  P&                  R 4       4       tR tR tR tR t]P"                  P3                  ]RR7      R 4       tR tRtV tR# )TestFeatherc                    \         P                  ! W#R 7      ;_uu_ 4        \        W4       RRR4       R#   + '       g   i     R# ; i)matchN)pytestraisesr   )selfdfexcerr_msg	temp_files   &&&&&l/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/io/test_feather.pycheck_error_on_write TestFeather.check_error_on_write   s*     ]]3..r% /...s	   6A	c                    \         P                  ! \        4      ;_uu_ 4        \        W4       R R R 4       R #   + '       g   i     R # ; iN)tmexternal_error_raised	Exceptionr   )r   r   r   s   &&&r   check_external_error_on_write)TestFeather.check_external_error_on_write$   s,     %%i00r% 1000s	   9A
	Nc                    Vf   / pVf   VP                  4       p\        W3/ VB  \        V3/ VB p\        P                  ! Wc4       R # r   )copyr   r   r   assert_frame_equal)r   r   r   expectedwrite_kwargsread_kwargsresults   &&&&&, r   check_round_tripTestFeather.check_round_trip+   sJ     LwwyH21L1i7;7
f/    c                    R p\         P                  ! . RO4      ^R\         P                  ! R4      \        P                  ! . RO4      3 F  pV P                  V\        W!4       K  	  R# )z'feather only support IO with DataFramesfoo20130101N         )pdSeries	Timestampnparrayr   
ValueError)r   r   msgobjs   &&  r   
test_errorTestFeather.test_error9   sQ    7IIi LL$HHY
C %%c:sF
r'   c           #        \         P                  ! R 4      p\        P                  ! R\	        R4      R\	        \        ^^4      4      R\        P                  ! ^^4      P                  R4      R\        P                  ! RRR	R
7      RR\        P                  ^.R. R&ORR\        P                  R.R\        P                  ! \	        R4      4      R\        P                  ! \	        \        P                  ! R^R7      4      RR7      R\        P                  ! \	        \        P                  ! R^VR7      4      RR7      R\        P                  ! R4      \        P                  \        P                  ! R4      .R\        P                  ! \	        \        P                  ! R^RR7      4      RR7      /4      p\        P                  ! RR^R 7      VR!&   \        P                   ! R"^R7      VR#&   \        P"                  ! ^ ^^4      VR$&   VP$                  P&                  P(                  P*                  R 8X  g   Q hVP-                  4       pRVP.                  R'&   V P1                  W1VR%7       R# )(z
US/Easternstringabcintuintu1floatg      @g      @float64dtypefloat_with_nullg      ?boolTFbool_with_nullcatdtr*   )periodsN)freqdttz)rH   tzdt_with_null20130103dtnsns)rH   rI   2013M)rI   rH   rH   z1 day
timedeltas	intervals)r!   TFT)r,   rE   )zoneinfoZoneInfor/   	DataFramelistranger2   arangeastypenanCategoricalDatetimeIndex
date_ranger1   NaTperiod_rangetimedelta_rangeinterval_rangerJ   rB   rK   keyr   locr%   )r   r   rK   r   r!   s   &&   r   
test_basicTestFeather.test_basicD   s   |,\\$u+tE!QK(		!Q..t439=!C#3+ 4"7r~~d5k2b&&z1=>T ((z1DE LL,FFLL,!
 ((z14HIPT+
6 S!D9--gqA<++Aq!4;ww}}##|333779,0()bh?r'   c                    \         P                  ! \        P                  ! ^4      P	                  ^^4      \        R4      R7      P                  4       pV P                  W!4       R# )   aaacolumnsN)r/   rW   r2   rZ   reshaperX   r   r   r   r   r   s   && r   test_duplicate_columns"TestFeather.test_duplicate_columnsk   sD     \\"))B-//15tE{KPPR**29r'   c                    \         P                  ! R \        R4      R\        \        ^^4      4      R\        R4      R\        \        ^^4      4      /4      pR R.pV P	                  W!W#,          VR7       R# )col1r;   col2col3xyzcol4)r!   rl   N)r/   rW   rX   rY   r%   )r   r   r   rl   s   &&  r   test_read_columnsTestFeather.test_read_columnsq   sj    \\UU1a[)UU1a[)	
 6"bbk7Sr'   c           	         \         P                  ! R ^^.RRR.RRR./4      pVRR .,          pV P                  W!VRR .R7       R# )	ABxyCTFrk   N)r/   rW   r%   )r   r   r   r!   s   &&  r   !test_read_columns_different_order-TestFeather.test_read_columns_different_order~   sO    \\3Ac3ZtUmLMsCj>bXSzJr'   c                \    \         P                  ! R . RO/4      pV P                  W!4       R# )aN)r   r,          @)r/   rW   r   rn   s   && r   test_unsupported_other"TestFeather.test_unsupported_other   s#    \\3./**29r'   c                    \         P                  ! R \        P                  ! R4      /4      pV P	                  W!RR7       V P	                  W!RR7       R# )rz   i T)use_threadsFN)r/   rW   r2   rZ   r%   rn   s   && r   test_rw_use_threadsTestFeather.test_rw_use_threads   sD    \\3		& 123b>b?r'   c                   \         P                  ! R \        P                  ! ^x4      P	                  R4      ,          \         P
                  ! \        R4      4      \         P
                  ! \        ^4       Uu. uF  pRV 2NK
  	  up4      R7      P                  4       p\        P                  ! VP                  \        V4      p\        P                  ! W44       R# u upi )皙?ABCDi-rl   indexN      )r/   rW   r2   rZ   rm   IndexrX   rY   reset_indexr   round_trip_pathlibr   r   r    )r   r   ir   r$   s   &&   r   test_path_pathlibTestFeather.test_path_pathlib   s    \\"))C.((11HHT&\*((eBi8ibHi89
 +-	 	
 &&r}}lIN
b) 9s   7Cc                v   \         P                  ! R \        P                  ! ^x4      P	                  R4      ,          \         P
                  ! \        R4      4      \         P
                  ! \        ^4       Uu. uF  pRV 2NK
  	  up4      R7      P                  4       pV P                  W1R^/R7       R# u upi )r   r   r   r   version)r"   Nr   )
r/   rW   r2   rZ   rm   r   rX   rY   r   r%   )r   r   r   r   s   &&  r   test_passthrough_keywords%TestFeather.test_passthrough_keywords   s    \\"))C.((11HHT&\*((eBi8ibHi89
 +-	 	
 	b9a.I 9s   7B6c                   \        V4      p\        VR 4      ;_uu_ 4       pVP                  VP                  4       R7       \        VP                  4      pRRR4       \
        P                  ! VX4       R#   + '       g   i     L); i)rb)contentN)r   openserve_contentreadurlr   r    )r   feather_file
httpserverr!   fress   &&&   r   test_http_pathTestFeather.test_http_path   sb      -,%%$$QVVX$6z~~.C & 	h, &%s   6A77B	c                   \         P                  ! R \         P                  ! ^\         P                  ^.RR7      R\         P                  ! . RORR7      R\         P                  ! R\         P                  R.RR7      R\         P                  ! . RORR7      R	. ROR. ROR. ROR. RO/4      p\	        WT4       \         P
                  ! RV4      ;_uu_ 4        \        WBR7      pRRR4       VR8X  di   \        P                  ! R4      pV'       d&   \         P                  ! VP                  4       4      pM;\         P                  ! VP                  4       4      pM\         P                  ! V4      p\         P                  ! R \         P                  ! ^\         P                  ^.RR7      R\         P                  ! . RORR7      R\         P                  ! R\         P                  R.RR7      R\         P                  ! . RORR7      R	\         P                  ! R
R\         P                  .RR7      R\         P                  ! . RORR7      R\         P                  ! . ROVR7      R\         P                  ! . ROVR7      /4      p	VR8X  dT   ^ RIHp
 \         P                  ! V	P                   Uu/ uF"  pW! XP!                  W,          R
R7      4      bK$  	  up4      p	V'       dE   V	P                  P#                  \         P                  ! V\$        P&                  R7      4      V	n        \(        P*                  ! XV	4       R#   + '       g   i     ELh; iu upi )r   Int64rA   bc      ?      @Float64deTFNr   ghzmode.string_storagedtype_backendr   boolean)ArrowExtensionArray)from_pandasna_valuer+   )r   r   r   )TFNrT   )r   r   r   )r   r   N)r/   rW   r0   NAr   option_contextr   r   importorskip
ArrowDtypelarge_stringr:   StringDtypepandas.arraysr   rl   r3   r[   r2   r\   r   r    )r   string_storager   using_infer_stringr   r   r$   pastring_dtyper!   r   cols   &&&&&       r   test_read_feather_dtype_backend+TestFeather.test_read_feather_dtype_backend   sg    \\RYY255!}G<RYYy8RYYRUUC0	BRYYi@((_%	
 	2!4nEE!)IF F I%$$Y/B!!}}R__->?!}}RYY[9>>.9L<<RYY255!}G<RYYy8RYYRUUC0	BRYYi@RYYeRUU39ERYY2)DRYYlCRYY/|D	
 I%9||  (/// ,RXXhmQUX-VWW/H '//66~? H 	fh/O FEE:s   M/(MM	c                    \         P                  ! R . RO/\         P                  ! . RORR7      R7      pV P                  W!4       R# )r   test)name)r   Nr+   )r.   r      )r/   rW   r   r%   rn   s   && r   test_int_columns_and_index&TestFeather.test_int_columns_and_index   s0    \\3	*"((962RSb,r'   c           	        R p\         P                  ! R\        \        ^^4      4      /4      pVP	                  V4       \
        P                  ! \        VR7      ;_uu_ 4        \        VRR7       RRR4       R#   + '       g   i     R# ; i)zPdtype_backend numpy is invalid, only 'numpy_nullable' and 'pyarrow' are allowed.r<   r   numpyr   N)	r/   rW   rX   rY   r   r   r   r4   r   )r   r   r5   r   s   &&  r   test_invalid_dtype_backend&TestFeather.test_invalid_dtype_backend   sb    % 	 \\5$uQ{"345
i ]]:S11': 2111s   #A;;B	c           	     |   \         P                  ! R RR./R7      pVP                  V4       \         P                  ! RR4      ;_uu_ 4        \	        V4      pRRR4       \         P
                  ! \        P                  R7      p\         P                  ! R RR./\         P
                  ! \        P                  R7      R7      p\         P                  ! R RR./T\         P                  ! R .\        '       d   V'       g   \        MTR	7      R
7      p\        P                  ! XV4       R#   + '       g   i     L; i)r   r|   r}   )datafuture.infer_stringTNr   r   rB   rA   )r   rB   rl   )r/   rW   r   r   r   r   r2   r\   r   r   objectr   r    )r   r   r   r   r$   rB   r!   s   &&&    r   test_string_inference!TestFeather.test_string_inference   s    \\c3Z01
i 4d;;!),F </<<Sz"".."&&*I
 <<Sz"HH''0B 		
 	fh/! <;s   D++D;	znot supported before 18.0)reasonc           	        ^ RI p^ RI Hp VP                  RVP                  . ROVP	                  4       4      /4      pVP                  WA4       \        P                  ! RR4      ;_uu_ 4        \        V4      p\        P                  ! R. RO/\        P                  ! \        P                  R7      R7      pRRR4       \        P                  ! XX4       R#   + '       g   i     L); i)	    N)featherr   r   Tr   r   )Nr   r   )r   r   tabler3   string_viewwrite_featherr/   r   r   rW   r   r2   r\   r   r    )r   r   r   r   r   r$   r!   s   &&     r   &test_string_inference_string_view_type2TestFeather.test_string_inference_string_view_type  s     	##rxx(8"..:JKLMe/4d;;!),F||+,BNNBFF4SH < 	fh/ <;s   .ACC*	c                    \         P                  ! R \        P                  ! R4      \        P                  ! R4      ./4      pV P	                  W!4       R# )datez
1654-01-01z
1920-01-01N)r/   rW   r   fromisoformatr%   rn   s   && r   &test_out_of_bounds_datetime_to_feather2TestFeather.test_out_of_bounds_datetime_to_feather  sI    \\**<8**<8
 	b,r'    )NN)__name__
__module____qualname____firstlineno__r   r   r%   r7   rf   ro   rw   r   r   r   r   r   r   marknetwork
single_cpur   r   r   r   r   skipifr   r   r   __static_attributes____classdictcell__)__classdict__s   @r   r	   r	      s     &&0	G%@N:TK:
@
*J [[[[-  -90v-;0, [[,5PQ0 R0 
- 
-r'   r	   )__doc__r   rU   r   r2   r   pandas.compat.pyarrowr   r   pandasr/   pandas._testing_testingr   pandas.io.feather_formatr   r   r   filterwarnings
pytestmarkr   r   r   r	   r   r'   r   <module>r      ss         
   =[[''C

 # G- G- G-r'   