1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
U
­ý°dã@sddlmZddlZddlZddlmZddlZddlmZe     d¡Z
de
j _ de
j _ de
j _dd„Zedeeddfd œd d „ƒZdd„ZdS)é)ÚcontextmanagerN)Ú    Generator)ÚHDFStoreÚtablesécCs.z|dk    r| ¡Wntk
r(YnXdS)N)ÚcloseÚOSError)Ústore©r
úVd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/io/pytables/common.pyÚ
safe_closes
 r ÚaF)Úreturnc
csHt ¡6}t ||¡}t|||||d }|VW5QRXW5QRXdS)N)ÚmodeÚ    complevelÚcomplibÚ
fletcher32)ÚtempfileÚTemporaryDirectoryÚpathlibÚPathr)ÚpathrrrrZ
tmpdirnameZtmp_pathr    r
r
r Úensure_clean_stores
 ûrc    Cs,z| |¡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)ÚremoveÚ
ValueErrorÚKeyError)r    Úkeyr
r
r Ú _maybe_remove*sr)r NNF)Ú
contextlibrrrÚtypingrZpytestZpandas.io.pytablesrZ importorskiprÚ
parametersZMAX_NUMEXPR_THREADSZMAX_BLOSC_THREADSZ MAX_THREADSr rrr
r
r
r Ú<module>s&   
    ÿ þ