ó
mÜJ]c           @` s{   d  Z  d d l m Z m Z m Z m Z d d l Z e j e ƒ Z	 d d l
 Z
 d d l m Z d Z e
 j d „  ƒ Z d S(   uI    Provide a Pytest plugin for handling tests when Pandas may be missing.

i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsN(   t   import_optionalu   ipythonc          C` s,   t  d ƒ }  |  d k r( t j d ƒ n  |  S(   u\    A PyTest fixture that will automatically skip a test if IPython is
    not installed.

    u   IPythonu   IPython is not installedN(   R   t   Nonet   pytestt   skip(   t   ipython(    (    s=   lib/python2.7/site-packages/bokeh/_testing/plugins/ipython.pyR   +   s    (   u   ipython(   t   __doc__t
   __future__R    R   R   R   t   loggingt	   getLoggert   __name__t   logR   t   bokeh.util.dependenciesR   t   __all__t   fixtureR   (    (    (    s=   lib/python2.7/site-packages/bokeh/_testing/plugins/ipython.pyt   <module>	   s   "	