B
    Afxa  ć               @   s   d dl Z d dlZd dlZejdd Zejdd Zejdd Zejdd	d
d Zejdd	dd Zejdd	dd Z	dS )é    Nc               C   s
   t  d ”S )N)ŚpintŚUnitRegistry© r   r   ś6lib/python3.7/site-packages/pint/testsuite/conftest.pyŚregistry_empty
   s    r   c               C   s   t  t d””S )Nu%  
yocto- = 1e-24 = y-
zepto- = 1e-21 = z-
atto- =  1e-18 = a-
femto- = 1e-15 = f-
pico- =  1e-12 = p-
nano- =  1e-9  = n-
micro- = 1e-6  = Āµ- = u-
milli- = 1e-3  = m-
centi- = 1e-2  = c-
deci- =  1e-1  = d-
deca- =  1e+1  = da- = deka-
hecto- = 1e2   = h-
kilo- =  1e3   = k-
mega- =  1e6   = M-
giga- =  1e9   = G-
tera- =  1e12  = T-
peta- =  1e15  = P-
exa- =   1e18  = E-
zetta- = 1e21  = Z-
yotta- = 1e24  = Y-

meter = [length] = m = metre
second = [time] = s = sec

angstrom = 1e-10 * meter = Ć = Ć„ngstrĆ¶m = ā«
minute = 60 * second = min
)r   r   ŚioŚStringIOr   r   r   r   Śregistry_tiny   s    r	   c               C   s   t  ” S )N)r   r   r   r   r   r   Śfunc_registry3   s    r
   Śclass)Zscopec               C   s   t  ” S )z8Only use for those test that do not modify the registry.)r   r   r   r   r   r   Śclass_registry8   s    r   Zsessionc               C   s   t  ” S )z8Only use for those test that do not modify the registry.)r   r   r   r   r   r   Śsess_registry>   s    r   c              c   sT   t  ” } t  d ”}| d” | d” t  |” t  ” |ks@t|V  t  | ” d S )Nzfoo = []zbar = foo / 2)r   Zget_application_registryr   ZdefineZset_application_registryŚAssertionError)Zureg_bakZuregr   r   r   Śclass_tiny_app_registryD   s    



r   )
r   Zpytestr   Zfixturer   r	   r
   r   r   r   r   r   r   r   Ś<module>   s   $