ó
'![c           @   s  d  Z  d d l m Z d Z d e f d     YZ e d  j Z e d  j Z e d  j Z e d  j Z y e	 d   Wn: e	 k
 rş Z
 e
 j Z e
 ` e
 j d	 7_ d	 e
 _ n Xd
 e	 f d     YZ y e d   Wn e k
 r˙ Z e j Z n Xd S(   s#   
Check accessing Exception.message
i˙˙˙˙(   t   ExtensionExceptioni    t   SubExceptionc           B   s   e  Z d  Z RS(   s    empty (   t   __name__t
   __module__t   __doc__(    (    (    sG   lib/python2.7/site-packages/pylint/test/functional/exception_message.pyR   	   s   t   testt   errort   es   hello worldt   CompatExceptionc           B   s#   e  Z d  Z d d  Z d   Z RS(   s.   An exception which should work on py2 and py3.t    c         C   s    t  t |   j   | |  _ d  S(   N(   t   superR   t   __init__t   message(   t   selfR   (    (    sG   lib/python2.7/site-packages/pylint/test/functional/exception_message.pyR      s    c         C   s   d |  j  } | j d  S(   Ns   CompatException %ss   utf-8(   R   t   encode(   R   t   result(    (    sG   lib/python2.7/site-packages/pylint/test/functional/exception_message.pyt   __repr__!   s    (   R   R   R   R   R   (    (    (    sG   lib/python2.7/site-packages/pylint/test/functional/exception_message.pyR      s   s   message hereN(   R   t   unknownR    t   __revision__t
   IndexErrorR   R   t   _t   ZeroDivisionErrort	   Exceptiont	   exceptionR   R   (    (    (    sG   lib/python2.7/site-packages/pylint/test/functional/exception_message.pyt   <module>   s&   	