ó
'![c           @   sf   d  Z  d d l Z e j d ƒ d e j f d „  ƒ  Yƒ Z e j d ƒ d e j f d „  ƒ  Yƒ Z d S(   sÕ   
http://www.logilab.org/ticket/355
If you are using assertTrue or assertFalse and the first argument is a
constant(like a string), then the assert will always be true. Therefore,
it should emit a warning message.
iÿÿÿÿNs   don't run thist   Testsc           B   s   e  Z d  „  Z RS(   c         C   s   d } |  j  d | ƒ |  j d | ƒ |  j  t | ƒ |  j t | ƒ |  j d | ƒ |  j  d | ƒ |  j  d | k | ƒ |  j  | | ƒ d S(   s    Simple test s   It should be assertEquals"   I meant assertEqual not assertTrues#   I meant assertEqual not assertFalsei    s	   should beN(   t
   assertTruet   assertFalset   Truet   Falset   None(   t   selft   some_var(    (    sO   lib/python2.7/site-packages/pylint/test/functional/redundant_unittest_assert.pyt   test_something   s    (   t   __name__t
   __module__R   (    (    (    sO   lib/python2.7/site-packages/pylint/test/functional/redundant_unittest_assert.pyR       s   t   RegressionWithArgsc           B   s   e  Z d  Z d „  Z RS(   s6   Don't fail if the bound method doesn't have arguments.c         C   s   |  j  ƒ  d  S(   N(   t   run(   R   (    (    sO   lib/python2.7/site-packages/pylint/test/functional/redundant_unittest_assert.pyt   test%   s    (   R	   R
   t   __doc__R   (    (    (    sO   lib/python2.7/site-packages/pylint/test/functional/redundant_unittest_assert.pyR   !   s   (   R   t   unittestt   skipt   TestCaseR    R   (    (    (    sO   lib/python2.7/site-packages/pylint/test/functional/redundant_unittest_assert.pyt   <module>   s
   