B
    {d                 @   sR   d Z ddlZddlZyddlmZmZ dZW n ek
rD   dZY nX dd Z	dS )a  Configure Test Suite.

This file is used to configure the behavior of pytest when using the Astropy
test infrastructure. It needs to live inside the package in order for it to
get picked up when running the tests inside an interpreter using
`astropy_healpix.test()`.

    N)PYTEST_HEADER_MODULESTESTED_VERSIONSTFc             C   s   t r\d| j_tdd tdd dtd< dtd< dd	lm} tj	tj
t}|t|< ytjd
d W n tk
r   Y nX dS )zeConfigure Pytest with Astropy.

    Parameters
    ----------
    config : pytest configuration

    TZh5pyNZPandasZastropyZAstropyZhealpy   )__version__z1.13)legacy)ASTROPY_HEADERoptionZastropy_headerr   pop r   ospathbasenamedirname__file__r   npZset_printoptions	TypeError)configr   Zpackagename r   e/work/yifan.wang/ringdown/master-ringdown-env/lib/python3.7/site-packages/astropy_healpix/conftest.pypytest_configure   s    r   )
__doc__r   numpyr   Zpytest_astropy_header.displayr   r   r   ImportErrorr   r   r   r   r   <module>   s   
