Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_traceback.pyc |
³ò h”Rc @ sr d Z d d k Z d d k l Z l Z d d k Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( s Test cases for traceback moduleiÿÿÿÿN( t run_unittestt is_jythont TracebackCasesc B s† e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s@ y | ƒ Wn% | j o } t i | | ƒ Sn Xt d ‚ d S( Ns call did not raise exception( t tracebackt format_exception_onlyt ValueError( t selft funct exct value( ( s/ /usr/local/lib/python2.5/test/test_traceback.pyt get_exception_format s c C s t d d d ƒ d S( Ns def fact(x): return x! t ?t exec( t compile( R ( ( s/ /usr/local/lib/python2.5/test/test_traceback.pyt syntax_error_with_caret s c C s d d k } d S( Niÿÿÿÿ( t test.badsyntax_nocaret( R t test( ( s/ /usr/local/lib/python2.5/test/test_traceback.pyt syntax_error_without_caret s c C s t d d d ƒ d S( Ns def spam(): print 1 print 2R R ( R ( R ( ( s/ /usr/local/lib/python2.5/test/test_traceback.pyt syntax_error_bad_indentation s c C s“ | i | i t ƒ } | i t | ƒ d j ƒ | i | d i ƒ d j ƒ | i d | d j ƒ | i | d i d ƒ | d i d ƒ j ƒ d S( Ni i s return x!t ^i t !( R R t SyntaxErrort assert_t lent stript find( R t err( ( s/ /usr/local/lib/python2.5/test/test_traceback.pyt test_caret s c C s^ t o d Sn | i | i t ƒ } | i t | ƒ d j ƒ | i | d i ƒ d j ƒ d S( Ni i s [x for x in x] = x( R R R R R R R ( R R ( ( s/ /usr/local/lib/python2.5/test/test_traceback.pyt test_nocaret&