
    IR-ef                     :    d Z ddlZddlmZ ddlmZmZ d Zd Z	dS )zRegression tests for deprecated units or those that are "soft" deprecated
because they are required for VOUnit support but are not in common use.    N)units)
deprecatedrequired_by_vounitc            	      B   t          j        t                    5  t          j         d d d            n# 1 swxY w Y   t          j                            t          j        d          dk    sJ t          j                    5  t          j        	                                d         t          j        k    sJ 	 d d d            n# 1 swxY w Y   t          j        	                                d         t          j        k    sJ dD ]} dD ]}dD ]}| |z   }||z   }t          j        t                    5  t          t          |           d d d            n# 1 swxY w Y   t          t          |          j        j        d         t          t          |          k    sJ d S )N   r   )earthjupiter)MassRad)ny)pytestraisesAttributeErroruemuBitor   enablecomposegetattr
representsbases)bodyphystypeprefixnamewoprefixunitnames        Clib/python3.11/site-packages/astropy/units/tests/test_deprecated.pytest_emur       sQ   	~	&	&  	               477:>1%%****				 3 3t||~~a JN222223 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4<<>>!$$$$ %  ' 	 	H$ 	 	#h!L0]>22 ) )Ax((() ) ) ) ) ) ) ) ) ) ) ) ) ) ) z844?EaHG|M M     		 s0   3775CC
C1E	EEc                     t          j        t                    5  t          j         t          j         t          j         d d d            n# 1 swxY w Y   t          j        d          t          j        k    sJ t          j        d          t          j        k    sJ t          j        d          t          j        k    sJ t          j        t          j	        
                                vsJ t          j        t          j        
                                vsJ t          j        t          j        
                                vsJ d S )NnsolMassnsolRadnsolLum)r   r   r   r   r"   r#   r$   Unitr   solMassfind_equivalent_unitssolRadsolLum     r   test_required_by_vounitr,   (   sK   
 
~	&	&  	

							               6*!3!<<<<<6) 2 :::::6) 2 ::::: &ai.M.M.O.OOOOO%QX-K-K-M-MMMMM%QX-K-K-M-MMMMMMMs   %AAA)
__doc__r   astropyr   r   astropy.unitsr   r   r    r,   r*   r+   r   <module>r0      ss   K K        8 8 8 8 8 8 8 8  6N N N N Nr+   