/usr/local/lib64/python3.6/site-packages/pandas/tests/io/pytables/__pycache__
NameSizeModeActions
common.cpython-36.pyc22220644editdlrm
conftest.cpython-36.pyc6400644editdlrm
test_compat.cpython-36.pyc26920644editdlrm
test_complex.cpython-36.pyc56130644editdlrm
test_pytables_missing.cpython-36.pyc6730644editdlrm
test_store.cpython-36.pyc1158030644editdlrm
test_timezones.cpython-36.pyc79420644editdlrm
__init__.cpython-36.pyc1600644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/pandas/tests/io/pytables/__pycache__/common.cpython-36.pyc (2222B)
3 :%Eg@sddlmZddlZddlZddlZddlmZejdZdej _ dej _ dej _ ddZ dd Zd d ZedddZeddZddZdS))contextmanagerN)HDFStoretablesc Cs0|dk r,ytj|Wntk r*YnXdS)N)osremoveOSError)pathr K/usr/local/lib64/python3.6/site-packages/pandas/tests/io/pytables/common.py safe_removes r c Cs.y|dk r|jWntk r(YnXdS)N)closeIOError)storer r r safe_closes  rcCstjjtj|S)z) create an unopened named temporary file )rr jointempfile gettempdir)r r r r create_tempfile sraFc cs\z4ttjj|st|}t||||dd}|VWdt||dksN|dkrVt|XdS)NF)mode complevelcomplib fletcher32wr)lenrr dirnamerrrr )r rrrrrr r r ensure_clean_store&s rc csVz8t|tr"dd|D}|Vnt|g}|dVWdx|D] }t|q@WXdS)z return essentially a named temporary file that is not opened and deleted on exiting; if path is a list, then create and return list of filenames cSsg|] }t|qSr )r).0pr r r Bsz%ensure_clean_path..rN) isinstancelistrr )r filenamesfr r r ensure_clean_path9s   r%c Cs,y|j|Wnttfk r&YnXdS)z For tests using tables, try removing the table to be sure there is no content from previous tests using the same table name. N)r ValueErrorKeyError)rkeyr r r _maybe_removeLsr))rNNF) contextlibrrrZpytestZpandas.io.pytablesrZ importorskipr parametersZMAX_NUMEXPR_THREADSZMAX_BLOSC_THREADSZ MAX_THREADSr rrrr%r)r r r r s