
    Mh                         S SK Jr  S SKJr  S SKrS SKrS SKrS SKJr  \R                  " S5      r
S\
R                  l        S\
R                  l        S\
R                  l        S r\ SS\\SS4   4S	 jj5       rS
 rg)    )	Generator)contextmanagerN)HDFStoretables   c                 N     U b  U R                  5         g g ! [         a     g f = f)N)closeOSError)stores    Q/var/www/html/env/lib/python3.13/site-packages/pandas/tests/io/pytables/common.py
safe_closer      s-    KKM  s    
$$returnc           	   #      #    [         R                  " 5        n[        R                  " XP5      n[	        UUUUUS9 nUv   S S S 5        S S S 5        g ! , (       d  f       N= f! , (       d  f       g = f7f)N)mode	complevelcomplib
fletcher32)tempfileTemporaryDirectorypathlibPathr   )pathr   r   r   r   
tmpdirnametmp_pathr   s           r   ensure_clean_storer      sd      
	$	$	&*<<
1!
 K
 
'	&
 
 
'	&s3   A4$A#AA#		A4
A 	A##
A1-A4c                 T     U R                  U5        g! [        [        4 a     gf = f)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   keys     r   _maybe_remover!   *   s*    
S! s    '')aNNF)collections.abcr   
contextlibr   r   r   pytestpandas.io.pytablesr   importorskipr   
parametersMAX_NUMEXPR_THREADSMAX_BLOSC_THREADSMAX_THREADSr   r   r!        r   <module>r.      s    % %    '			X	&()   %&'   # !    =Bxt#$ r-   