+
    xȇi              
          ^ RI HtHt ^ RIt^ RIt^ RIHu Ht ^ RI	t
^ RIHt R tR t]P                   ]P"                  P$                  ]P"                  P&                  R 4       4       4       tR tR tR tR	 t]P"                  P3                  R
R]P4                  ! R]P6                  ! R4      R7      .4      ]P"                  P3                  RRR.4      ]P"                  P3                  RRR.4      R 4       4       4       tR tR# )    )BytesIOStringIONc                    \         P                  ! . RO. RO.RR.. R	OR7      pVP                  WR7       \        P                  ! V\         P
                  ! WR7      4       \        P                  ! W4      ;_uu_ 4       pVP                  4       P                  R4      p\        V4      pRRR4       \        P                  ! V\         P
                  ! X4      4       R#   + '       g   i     L=; i)
翶~Ϛ?AB)indexcolumnscompressionutf8N)r   g9DܜJ?g>D)?)g.4i(@g33333@g̤A)XYZ)
pd	DataFrameto_jsontmassert_frame_equal	read_jsondecompress_filereaddecoder   )r   	temp_filedffhresultdatas   &&    u/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/io/json/test_compression.pytest_compression_roundtripr       s    		')GHCj
B JJyJ2"bll9NO 
		I	3	3r!!&) 
4 "bll401 
4	3s    +C  C0	c                     V ! R RRR4      p\         P                  ! V4      pV ! R RRR4      p\         P                  ! VRR7      p\        P                  ! W$4       R# )iojsonr   ztsframe_v012.jsonztsframe_v012.json.zipzipr   N)r   r   r   r   )datapathuncompressed_pathuncompressed_dfcompressed_pathcompressed_dfs   &    r   test_read_zipped_jsonr*       sR     vv7JKll#45OtVV5LMOLLeDM/9    c                    \         P                  ! \        R 4      4      p\        P                  ! 4        R2pVP                  W0R7       \        VR4      ;_uu_ 4       pVP                  WVR7       RRR4       \         P                  ! RVP                   RV 2V VR7      p\        P                  ! WG4       R#   + '       g   i     LQ; i)	 {"a": [1, 2, 3], "b": [4, 5, 6]}z.jsonr   rb)KeyBodyNzs3:///)r   storage_options)r   r   r   uuiduuid4r   open
put_objectnamer   r   )r   s3_bucket_publics3sor   r   keyfroundtripped_dfs   &&&&    r   test_with_s3_urlr=   *   s    
 
hAB	CBZZ\N%
 CJJyJ2	i		!###4 
 ll
 %%&au-O
 ". 
	s   B::C
	c                     \         P                  ! \        R 4      4      pVP                  VRRV R7       \         P                  ! VRV R7      p\        P
                  ! W#4       R# )r-   recordsTorientlinesr   )rB   r   N)r   r   r   r   r   r   )r   r   r   r<   s   &&  r   test_lines_with_compressionrC   >   sJ    	hAB	CBJJy$KJPll9DkRO".r+   c                 D   \         P                  ! \        R 4      4      pVP                  VRRV R7       \         P                  ! VR^V R7      ;_uu_ 4       p\         P                  ! V4      pRRR4       \
        P                  ! VX4       R#   + '       g   i     L); i)z,{"a": ["foo", "bar", "baz"], "b": [4, 5, 6]}r?   Tr@   )rB   	chunksizer   N)r   r   r   r   concatr   r   )r   r   r   resr<   s   &&   r   test_chunksize_with_compressionrH   E   sv    	hMN	OBJJy$KJP	
 
	))C.
 "o.	
 
s   BB	c                     \         P                  ! \        R 4      4      pRp\        P                  ! \
        VR7      ;_uu_ 4        VP                  V RR7       RRR4       R#   + '       g   i     R# ; i)r-   *Unrecognized compression type: unsupportedmatchunsupportedr   N)r   r   r   pytestraises
ValueErrorr   )r   r   msgs   &  r   'test_write_unsupported_compression_typerR   P   sK    	hAB	CB
6C	z	-	-


9-
8 
.	-	-	-s   A$$A5	c                     R p\         P                  ! \        VR7      ;_uu_ 4        \        P                  ! V RR7       RRR4       R#   + '       g   i     R# ; i)rJ   rK   rM   r   N)rN   rO   rP   r   r   )r   rQ   s   & r   &test_read_unsupported_compression_typerT   W   s5    
6C	z	-	-
YM: 
.	-	-	-s   A

A	infer_stringFTpyarrow)marksto_infer
read_inferc                    \         P                  ! R V4      ;_uu_ 4        T pVRW6,           2,          p\         P                  ! R^./4      pV'       d   RMTp	V'       d   RMTp
VP                  WyR7       \         P                  ! WzR7      p\
        P                  ! W4       RRR4       R#   + '       g   i     R# ; i)zfuture.infer_stringztest.r   inferr   N)r   option_contextr   r   r   r   r   )compression_onlyrY   rX   compression_to_extensionrU   tmp_pathr   filenamer   to_compressionread_compressionr   s   &&&&&&      r   test_to_json_compressionrc   ]   s     
		0,	?	?& &>&K%LMM\\3*%$,+&07k


8
8hE
f) 
@	?	?	?s   AB/"AB//C 	c                     \         P                  ! R ^./4      p\        4       ;_uu_ 4       pVP                  W R7       RRR4       R#   + '       g   i     R# ; i)r   r   N)r   r   r   r   )r   expectedbuffers   &  r   test_to_json_compression_moderg   {   s<    ||S1#J'H	f9 
s   A		A	)r"   r   r   r3   rN   pandas.util._test_decoratorsutil_test_decoratorstdpandasr   pandas._testing_testingr   r    r*   skip_if_not_us_localemark
single_cpunetworkr=   rC   rH   rR   rT   parametrizeparam
skip_if_norc   rg    r+   r   <module>rw      s      ) )  2": /   /"//9; UFLLR]]95MNO dE]3e}5* 6 4
*2:r+   