/usr/local/lib64/python3.6/site-packages/pandas/tests/io/__pycache__
NameSizeModeActions
conftest.cpython-36.pyc24820644editdlrm
generate_legacy_storage_files.cpython-36.pyc82880644editdlrm
test_clipboard.cpython-36.pyc74130644editdlrm
test_common.cpython-36.pyc126610644editdlrm
test_compression.cpython-36.pyc51310644editdlrm
test_date_converters.cpython-36.pyc15230644editdlrm
test_feather.cpython-36.pyc59720644editdlrm
test_fsspec.cpython-36.pyc34810644editdlrm
test_gbq.cpython-36.pyc68320644editdlrm
test_gcs.cpython-36.pyc40070644editdlrm
test_html.cpython-36.pyc414870644editdlrm
test_orc.cpython-36.pyc48830644editdlrm
test_parquet.cpython-36.pyc233380644editdlrm
test_pickle.cpython-36.pyc135030644editdlrm
test_s3.cpython-36.pyc15010644editdlrm
test_spss.cpython-36.pyc23750644editdlrm
test_sql.cpython-36.pyc870890644editdlrm
test_stata.cpython-36.pyc581870644editdlrm
__init__.cpython-36.pyc1510644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/pandas/tests/io/__pycache__/conftest.cpython-36.pyc (2482B)
3 :%Eg @spddlZddlZddljZddlmZejddZejddZ ejddZ ejd d Z ejd d Z dS) N)read_csvcCs|ddddS)zPath to the tips datasetiodatacsvztips.csv)datapathrrD/usr/local/lib64/python3.6/site-packages/pandas/tests/io/conftest.py tips_file sr cCs|ddddS)zPath to a JSONL datasetrparserrz items.jsonlr)rrrr jsonl_filesr cCst|ddddddS)z#DataFrame with the salaries datasetrr rz salaries.csv )sep)r)rrrrsalaries_tablesrcCs|ddddS)NrrZfeatherzfeather-0_3_1.featherr)rrrr feather_filesrc #stjd}tjd}tjtjjddtjjddtjd}d|fd |fd |d fd |d fd|fd|fgfdd}z`|j}|jd}|j dddj |d||j ddd|d|j j VWd|j XWdQRXdS)a4 Fixture for mocking S3 interaction. The primary bucket name is "pandas-test". The following datasets are loaded. - tips.csv - tips.csv.gz - tips.csv.bz2 - items.jsonl A private bucket "cant_get_it" is also created. The boto3 s3 resource is yielded by the fixture. s3fsboto3ZAWS_ACCESS_KEY_IDZ foobar_keyZAWS_SECRET_ACCESS_KEYZ foobar_secretmotoz tips#1.csvztips.csvz tips.csv.gzz.gzz tips.csv.bz2z.bz2z items.jsonlzsimple_dataset.featherc s@x:D]2\}}t|d}j|j||dWdQRXqWdS)Nrb)KeyZBody)openBucketZ put_object)Z bucket_nameZs3_key file_namef)conn test_s3_filesrradd_tips_filesEs z#s3_resource..add_tips_filesz pandas-tests3z us-east-1)Z region_name)rZ cant_get_itprivate)rZACLN)pytestZ importorskiptmZ!ensure_safe_environment_variablesosenviron setdefaultZmock_s3startresourceZ create_bucketZ S3FileSystemZclear_instance_cachestop) r r rrrrrrZbucketr)rrr s3_resource!s2          r&) r rZpandas._testingZ_testingrZpandas.io.parsersrZfixturer r rrr&rrrrs