| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pandas/tests/io/__pycache__/ |
Upload File : |
�
0 �g� � � � d dl mZ d dlZd dlmZ d� Zej j d� � Zej j d� � Z y)� )�BytesION)�read_csvc � � t j dd�� ddlm} ddg}|D ]) } | t |� t |� �� }t
|� �+ y ) N�botocorez1.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 �9C:\Python312\Lib\site-packages\pandas/tests/io/test_s3.py�test_streaming_s3_objectsr sL � � ���
�y�9�/�*�,@�A�D�� ���W�R�[��R��A������ c � � t j d� t d| j � d�d|�� }t |� dk( sJ �y )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 � � t j d� t d| j � d�dd |�� }t |� dk( sJ �y )Nr r r � )r �headerr r )r r �dfs r �$test_read_with_creds_from_pub_bucketr% sK � � ����� �
�*�/�/�0� �:����
�B� �r�7�a�<��<r )
�ior r
�pandasr r �mark�
single_cpur r% � r r �<module>r+ sO �� �
� � � ������ �� �����
� �
r