
    4i                         S SK Jr  S SKrS SKJr  \R
                  R                  SSS/5      S 5       r\R
                  R                  \R
                  R                  SS	S/5      S
 5       5       r	g)    )BytesION)read_csvdatas   foo,bar,baz
1,2,3
4,5,6
s   just,the,header
c                     [         R                  " SSS9  SSKJn  U" [	        U 5      [        U 5      S9n[        U5        g )Nbotocorez1.10.47)
minversionr   )StreamingBody)content_length)pytestimportorskipbotocore.responser	   r   lenr   )r   r	   bodys      Y/var/www/html/dynamic-report/venv/lib/python3.13/site-packages/pandas/tests/io/test_s3.pytest_streaming_s3_objectsr      s2     
y9/s4yADTN    headerinferc                     [         R                  " S5        Sn[        SU R                   S3UUUS9n[	        U5      U:X  d   eg )Ns3fs   zs3://z	/tips.csv)nrowsr   storage_options)r   r   r   namer   )s3_bucket_public_with_datas3sor   r   dfs        r   0test_read_with_and_without_creds_from_pub_bucketr      sR     E	
*//0	:	
B r7er   )
ior   r   pandasr   markparametrizer   
single_cpur    r   r   <module>r%      sv       "@BV!WX Y GT?3 4 r   