ó
ßČ[c           @   s   d  Z  d d l m Z d d l Ty d d l Z Wn e k
 rI e Z n Xe Z e	 d e  e rs e j
 d  n  i  Z d   Z d	   Z d
 e d <d S(   sť   
This file contains pytest configuration settings that are astropy-specific
(i.e.  those that would not necessarily be shared by affiliated packages
making use of astropy's test runner).
i   (   t   builtins(   t   *i˙˙˙˙Nt   include_astropy_deprecationst   Aggc         C   s0   t  t _ t r, t j t j  t j   n  d  S(   N(	   t   TrueR    t   _pytest_runningt   HAS_MATPLOTLIBt   matplotlibrc_cachet   updatet
   matplotlibt   rcParamst
   rcdefaults(   t   config(    (    s/   lib/python2.7/site-packages/astropy/conftest.pyt   pytest_configure   s    	c         C   s0   t  t _ t r, t j j t  t j   n  d  S(   N(	   t   FalseR    R   R   R	   R
   R   R   t   clear(   R   (    (    s/   lib/python2.7/site-packages/astropy/conftest.pyt   pytest_unconfigure$   s    	t   cythont   Cython(   t   __doc__t   extern.six.movesR    t   tests.pytest_pluginsR	   t   ImportErrorR   R   R   t!   enable_deprecations_as_exceptionst   useR   R   R   t   PYTEST_HEADER_MODULES(    (    (    s/   lib/python2.7/site-packages/astropy/conftest.pyt   <module>   s   

		