mς
­fIc           @   sc   d  Z  d k Z d k Z d k l Z d e i f d     YZ d   Z e d j o e   n d S(   s/   test script for a few new invalid token catchesN(   s   test_supportt   EOFTestCasec           B   s   t  Z d   Z d   Z RS(   Nc         C   sI   y t  d  Wn+ t j
 o } |  i t |  d  n Xt i  d  S(   Ns   'this is a test            s0   EOL while scanning single-quoted string (line 1)(   t   evalt   SyntaxErrort   msgt   selft   assertEqualt   strt   test_supportt
   TestFailed(   R   R   (    (    t*   /mit/python/lib/python2.4/test/test_eof.pyt	   test_EOFC	   s    c         C   sI   y t  d  Wn+ t j
 o } |  i t |  d  n Xt i  d  S(   Ns   '''this is a tests0   EOF while scanning triple-quoted string (line 1)(   R   R   R   R   R   R   R   R   (   R   R   (    (    R	   t	   test_EOFS   s    (   t   __name__t
   __module__R
   R   (    (    (    R	   R       s   	
c           C   s   t  i t  d  S(   N(   R   t   run_unittestR    (    (    (    R	   t	   test_main   s    t   __main__(	   t   __doc__t   ost   unittestt   testR   t   TestCaseR    R   R   (   R   R   R    R   R   (    (    R	   t   ?   s   			