ó
'![c           @   s  d  Z  d e f d „  ƒ  YZ e ƒ   Wd QXd e f d „  ƒ  YZ e ƒ   Wd QXd e f d „  ƒ  YZ e ƒ   Wd QXd d	 l m Z e d
 „  ƒ Z e ƒ   Wd QXe  Wd QXd d l m	 Z	 e	 ƒ   Wd QXd „  Z
 e ƒ  Z e
 ƒ  Z e  Wd QXe  Wd QXd „  Z e ƒ   Wd QXd e f d „  ƒ  YZ e ƒ  Z e j  Wd QXe j  Wd QXd e	 f d „  ƒ  YZ e ƒ   Wd QXd e f d „  ƒ  YZ d e f d „  ƒ  YZ d „  Z e d „  ƒ Z e ƒ   Wd QXe ƒ  g Z e d  Wd QXd „  Z d „  Z e ƒ   Wd QXd S(   sN   Tests that onjects used in a with statement implement context manager protocolt   Managerc           B   s   e  Z d  „  Z d „  Z RS(   c         C   s   d  S(   N(    (   t   self(    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt	   __enter__   s    c         C   s   d  S(   N(    (   R   t   type_t   valuet	   traceback(    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   __exit__	   s    (   t   __name__t
   __module__R   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR       s   	Nt   AnotherManagerc           B   s   e  Z RS(    (   R   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR	      s   t   NotAManagerc           B   s   e  Z RS(    (   R   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR
      s   iÿÿÿÿ(   t   contextmanagerc           c   s	   d  Vd  S(   N(    (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   dec   s    (   t   Missingc           C   s   d S(   Ni*   (    (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   penelopa1   s    c           C   s   t  ƒ  S(   N(   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   wrapperA   s    t   Propertyc           B   s&   e  Z e d  „  ƒ Z e d „  ƒ Z RS(   c         C   s   t  ƒ  S(   N(   R   (   R   (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   ctxK   s    c         C   s   d S(   Ni*   (    (   R   (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   not_ctxO   s    (   R   R   t   propertyR   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR   I   s   t   TestKnownBasesc           B   s   e  Z RS(    (   R   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR   ^   s   t   ManagerMixinc           B   s   e  Z d  „  Z RS(   c         C   s   |   Wd  QXd  S(   N(    (   R   (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   testf   s    (   R   R   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR   e   s   t   FullContextManagerc           B   s   e  Z d  „  Z d „  Z RS(   c         C   s   |  S(   N(    (   R   (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR   k   s    c         G   s   d  S(   N(    (   R   t   args(    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR   m   s    (   R   R   R   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyR   j   s   	c           c   s	   d Vd  S(   Ni*   (    (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt	   generatorr   s    c           C   s   t  ƒ  S(   N(   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt#   context_manager_returning_generatoru   s    i    c           C   s   t  ƒ  S(   N(   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   other_indirect_func€   s    c           C   s   t  ƒ  S(   N(   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   not_context_managerƒ   s    (   t   __doc__t   objectR    R	   R
   t
   contextlibR   R   t   missingR   R   t   hopat   tropaR   R   t   lalaR   R   R   R   R   R   R   t   FIRSTR   R   (    (    (    sI   lib/python2.7/site-packages/pylint/test/functional/not_context_manager.pyt   <module>   sd   




				
	


	
		
