ó
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   pdc          C` s,   t  d ƒ }  |  d k r( t j d ƒ n  |  S(   u[    A PyTest fixture that will automatically skip a test if Pandas is
    not installed.

    u   pandasu   pandas is not installedN(   R   t   Nonet   pytestt   skip(   t   pandas(    (    s<   lib/python2.7/site-packages/bokeh/_testing/plugins/pandas.pyt   pd+   s    (   u   pd(   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/pandas.pyt   <module>	   s   "	