
    j
                     h    d dl Z ddlmZmZ d dlmZ  G d de          Zd Z G d d	e          Z	dS )
    N   )TestCase	make_name)Filec                       e Zd ZdS )SampleExceptionN)__name__
__module____qualname__     V/var/www/html/Carbon-Document/venv/lib/python3.11/site-packages/h5py/tests/test_h5o.pyr   r      s        Dr   r   c                 ,    t          d|  d|           )Nzthrowing exception for  )r   )nameobjs     r   throwingr   
   s!    
@D@@3@@
A
AAr   c                       e Zd Zd ZdS )	TestVisitc                 X   |                                  }t          |d          }|                    t                      dd           t	          j        t          d          5  |                    t                     d d d            n# 1 swxY w Y   |	                                 d S )Nw)d   uint8)dtypezthrowing exception)match)
mktempr   create_datasetr   pytestraisesr   
visititemsr   close)selffnamefids      r   
test_visitzTestVisit.test_visit   s    5#9;;g>>>]?2FGGG 	% 	%NN8$$$	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	% 	%		s   $BBBN)r	   r
   r   r%   r   r   r   r   r      s#            r   r   )
r   commonr   r   h5pyr   	Exceptionr   r   r   r   r   r   <module>r)      s     ' ' ' ' ' ' ' '      	 	 	 	 	i 	 	 	B B B         r   