
    1Vh                     V    d dl Z ddlmZ d dlmZ  G d de      Zd Z G d d	e      Zy)
    N   )TestCase)Filec                       e Zd Zy)SampleExceptionN)__name__
__module____qualname__     C/home/dcms/DCMS/lib/python3.12/site-packages/h5py/tests/test_h5o.pyr   r      s    r   r   c                 0    t        | |       t        d      )Nthrowing exception)printr   )nameobjs     r   throwingr   
   s    	$
.
//r   c                       e Zd Zd Zy)	TestVisitc                    | j                         }t        |d      }|j                  ddd       t        j                  t
        d      5  |j                  t               d d d        |j                          y # 1 sw Y   xY w)Nwfoo)d   uint8)dtyper   )match)	mktempr   create_datasetpytestraisesr   
visititemsr   close)selffnamefids      r   
test_visitzTestVisit.test_visit   sg    5#5&8]]?2FG 	%NN8$	%			% 	%s   A;;BN)r   r	   r
   r&   r   r   r   r   r      s    r   r   )	r   commonr   h5pyr   	Exceptionr   r   r   r   r   r   <module>r*      s+      	i 	0 r   