ACC SHELL
Ñò
sÄMc @ s3 d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z d d k l Z l
Z
d d k l Z e i
i e ƒ Z e i
i e i
i e d ƒ ƒ Z e i
i e d d ƒ Z e i e ƒ Z e i e d e i ƒZ d „ Z d d d
„ Z d „ Z d d d d
„ Z d „ Z e i Z d S( s Support code for test_*.py filesiÿÿÿÿN( t dedent( t pytreet refactor( t drivers ..s Grammar.txtt convertc C s t i t | ƒ d t ƒS( Nt debug( R t parse_stringt reformatt True( t string( ( s+ /usr/lib/python2.6/lib2to3/tests/support.pyR s c C sC | d j o t i ƒ i | ƒ } n t i d d ƒ i | ƒ d S( Nt verbosityi ( t Nonet unittestt
TestLoadert loadTestsFromModulet TextTestRunnert run( t test_modt tests( ( s+ /usr/lib/python2.6/lib2to3/tests/support.pyt
run_all_tests s
c C s t | ƒ d S( Nu
( R ( R ( ( s+ /usr/lib/python2.6/lib2to3/tests/support.pyR s t lib2to3c C sp | d j o- g } | D] } | | d | q ~ } n t i | d ƒ } | p h } t i | | d t ƒS( s
A convenience function for creating a RefactoringTool for tests.
fixers is a list of fixers for the RefactoringTool to use. By default
"lib2to3.fixes.*" is used. options is an optional dictionary of options to
be passed to the RefactoringTool.
s .fixes.fix_s .fixest explicitN( R R t get_fixers_from_packaget RefactoringToolR ( t fixer_pkgt fixerst optionst _[1]t fix( ( s+ /usr/lib/python2.6/lib2to3/tests/support.pyt get_refactorer! s
-
c c s` xY t i t ƒ D]H \ } } } x6 | D]. } | i d ƒ o t i i | | ƒ Vq&