
    Mh                         S SK Jr  S SKrS SKJr  S r\R                  R                  S 5       r\R                  R                  S 5       r	g)    )BytesION)read_csvc                      [         R                  " SSS9  SSKJn   SS/nU H'  nU " [	        U5      [        U5      S9n[        U5        M)     g )	Nbotocorez1.10.47)
minversionr   )StreamingBodys   foo,bar,baz
1,2,3
4,5,6
s   just,the,header
)content_length)pytestimportorskipbotocore.responser   r   lenr   )r   dataelbodys       I/var/www/html/env/lib/python3.13/site-packages/pandas/tests/io/test_s3.pytest_streaming_s3_objectsr      sG     
y9/*,@ADWR[RA     c                     [         R                  " S5        [        SU R                   S3SUS9n[	        U5      S:X  d   eg )Ns3fss3://	/tips.csv   )nrowsstorage_optionsr
   r   r   namer   )s3_public_bucket_with_datas3soresults      r   'test_read_without_creds_from_pub_bucketr       sJ     
*//0	:F
 v;!r   c                     [         R                  " S5        [        SU R                   S3SS US9n[	        U5      S:X  d   eg )Nr   r   r      )r   headerr   r   )r   r   dfs      r   $test_read_with_creds_from_pub_bucketr%       sK     	
*//0	:	
B r7a<<r   )
ior   r
   pandasr   r   mark
single_cpur    r%    r   r   <module>r+      sO      	   
 
r   