a
    ߙfb^                     @   s8   d dl Z d dlmZmZ d dlmZ dd Zdd ZdS )    N)physical_constantsastronomical_constantsc                  C   sH   t  } tjjj }| |ks"J t }tjjj }||ksDJ d S )N)	r   getconsth	__class____name__lowerr   ZM_sun)ZpversionZrefpversionZaversionZrefaversion r
   Hlib/python3.9/site-packages/astropy/constants/tests/test_sciencestate.pytest_version_match   s    r   c                   C   sl   t t td W d    n1 s*0    Y  t t td W d    n1 s^0    Y  d S )NZ
codata2018Ziau2015)pytestZraisesRuntimeErrorr   setr   r
   r
   r
   r   test_previously_imported   s    (r   )	r   Zastropyr   r   Zastropy.constantsZ	constantsr   r   r   r
   r
   r
   r   <module>   s   	