| 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/pytables/__pycache__/ |
Upload File : |
�
0 �g� � � � d dl mZ d dlmZ d dlZd dlZd dlZd dlmZ ej d� Z
de
j _ de
j _
de
j _ d� Ze ddeeddf fd �� Zd
� Zy)� )� Generator)�contextmanagerN)�HDFStore�tables� c �J � | �| j � y y # t $ r Y y w xY w)N)�close�OSError)�stores �AC:\Python312\Lib\site-packages\pandas/tests/io/pytables/common.py�
safe_closer
s- � �
����K�K�M� ���
��
�s � � "�"�returnc # �� K � t j � 5 }t j || � }t |||||�� 5 }|�� d d d � d d d � y # 1 sw Y �xY w# 1 sw Y y xY w�w)N)�mode� complevel�complib�
fletcher32)�tempfile�TemporaryDirectory�pathlib�Pathr )�pathr r r r �
tmpdirname�tmp_pathr s r �ensure_clean_storer su � �� �
� $� $� &� �*��<�<�
�D�1��
�����!�
� � ��K� � � � � �� � �s3 �A,�'A �A�A � A,�A �A � A)�%A,c �R � | j |� y# t t f$ r Y yw xY w)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-