
륊Vc           @   s   d  Z  d d l Z y d d l m Z m Z Wn# e k
 rQ d   Z d   Z n Xy d d l Z e Z Wn e k
 r e	 Z n Xe r e j
 e j k Z e d e j k MZ n  e r e Z n e Z d S(   s  
Determine when dev tests should be skipped by regular users.

Some tests are only intended to be tested during development right
before performing a release.  These do not test core functionality
of `cytoolz` and may be skipped.  These tests are only run if the
following conditions are true:

    - toolz is installed
    - toolz is the correct version
    - cytoolz is a release version
iN(   t   nottestt   istestc         C   s   t  |  d t  p |  S(   Nt   __test__(   t   setattrt   True(   t   func(    (    s:   lib/python2.7/site-packages/cytoolz/tests/dev_skip_test.pyt   <lambda>   t    c         C   s   t  |  d t  p |  S(   NR   (   R   t   False(   R   (    (    s:   lib/python2.7/site-packages/cytoolz/tests/dev_skip_test.pyR      R   t   dev(   t   __doc__t   cytoolzt
   nose.toolsR    R   t   ImportErrort   toolzR   t   do_toolz_testsR   t   __toolz_version__t   __version__t   dev_skip_test(    (    (    s:   lib/python2.7/site-packages/cytoolz/tests/dev_skip_test.pyt   <module>   s"   	

	