ó
'![c           @   s^   d  d l  Z  d  d l Z d  d l Z d  d l m Z d  d l m Z d e f d „  ƒ  YZ d S(   iÿÿÿÿN(   t   strings(   t   CheckerTestCaset   TestStringCheckerc           B   s;   e  Z e j Z e j j e j	 d k d d ƒd „  ƒ Z
 RS(   i   i    t   reasonsj   Tests that the string formatting checker doesn't fail when encountering a bytes string with a .format callc         C   s<   d } t  j | ƒ } |  j ƒ   |  j j | ƒ Wd  QXd  S(   Ns   b'test'.format(1, 2)(   t   astroidt   extract_nodet   assertNoMessagest   checkert
   visit_call(   t   selft   codet   node(    (    sC   lib/python2.7/site-packages/pylint/test/unittest_checker_strings.pyt   test_format_bytes   s    (   i   i    (   t   __name__t
   __module__R    t   StringFormatCheckert   CHECKER_CLASSt   pytestt   markt   skipift   syst   version_infoR   (    (    (    sC   lib/python2.7/site-packages/pylint/test/unittest_checker_strings.pyR      s   	(   R   R   R   t   pylint.checkersR    t   pylint.testutilsR   R   (    (    (    sC   lib/python2.7/site-packages/pylint/test/unittest_checker_strings.pyt   <module>   s
   