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_parser.pyc |
³ò h”Rc @ s¤ d d k Z d d k Z d d k Z d d k l Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( iÿÿÿÿN( t test_supportt RoundtripLegalSyntaxTestCasec 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 d „ Z RS( c C sz | | ƒ } | i ƒ } y t i | ƒ } Wn/ t i j o } | i d | | f ƒ n X| i | | i ƒ d ƒ d S( Ns could not roundtrip %r: %ss! could not re-generate syntax tree( t totuplet parsert sequence2stt ParserErrort failt assertEquals( t selft ft st st1t tt st2t why( ( s, /usr/local/lib/python2.5/test/test_parser.pyt roundtrip s c C s | i t i | ƒ d S( N( R R t expr( R R ( ( s, /usr/local/lib/python2.5/test/test_parser.pyt check_expr s c C s | i t i | ƒ d S( N( R R t suite( R R ( ( s, /usr/local/lib/python2.5/test/test_parser.pyt check_suite s c C s | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ d S( Ns def f(): yield 1s def f(): yields def f(): x += yields def f(): x = yield 1s def f(): x = y = yield 1s def f(): x = yields def f(): x = y = yields def f(): 1 + (yield)*2s def f(): (yield 1)*2s def f(): return; yield 1s def f(): yield 1; returns1 def f(): for x in range(30): yield x s) def f(): if (yield): yield x ( R ( R ( ( s, /usr/local/lib/python2.5/test/test_parser.pyt test_yield_statement s c C så | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i d! ƒ | i d"