U
    e»{j“  ã                   @   s˜   d dl Z d dlmZ dd„ Zdgddgdd	gd
ddgd
ddgdgddgddgdddgdddgdddgddddgdœZdd„ Zdd„ Zdd„ Zdd„ ZdS )é    N)Úucdc                   C   s   t  d ¡st‚d S )N)r   Ú	check_ucdÚAssertionError© r   r   ú`/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/io/votable/tests/ucd_test.pyÚ	test_none   s    r   )Úivoaúphys.temperature)r   z	pos.eq.ra)r   z	meta.main)r   zmeta.id)r   Úsrc)r   z	phot.flux)r   zem.radio)r   zarith.ratio)r   úpos.galactic.lat)r   z	meta.code)r   zphot.mag)r   z
stat.error)r   Úinstr)r   zstat.max)r   zem.opt.V)r   z
phot.color)r   zem.opt.B)r	   zpos.eq.ra;meta.mainzmeta.id;srczphot.flux;em.radio;arith.ratioz#PHot.Flux;EM.Radio;ivoa:arith.Ratior   zmeta.code;phot.magzstat.error;phot.magzphys.temperature;instr;stat.maxzstat.error;phot.mag;em.opt.Vzphot.color;em.opt.B;em.opt.Vz'stat.error;phot.color;em.opt.B;em.opt.Vc                  C   s>   t  ¡ D ]0\} }t | dd¡|ks&t‚t | dd¡st‚qd S )NT)ÚexamplesÚitemsr   Ú	parse_ucdr   r   )ÚsÚpr   r   r   Ú
test_check5   s    r   c                	   C   s(   t  t¡� t ddd¡ W 5 Q R X d S )Nzivoa:stsci:photT©ÚpytestZraisesÚ
ValueErrorr   r   r   r   r   r   Útest_too_many_colons;   s    r   c                	   C   s(   t  t¡� t ddd¡ W 5 Q R X d S )Nz_ivoa:phot.magTr   r   r   r   r   Útest_invalid_namespace@   s    r   c                	   C   s$   t  t¡� t d¡ W 5 Q R X d S )Nz-phor   r   r   r   r   Útest_invalid_wordE   s    r   )	r   Zastropy.io.votabler   r   r   r   r   r   r   r   r   r   r   Ú<module>   sL   ýýýýýüà)