Your IP : 216.73.216.213
�
��f� c @ sB d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m
Z
d d l m Z e j
j e � Z e j
j e j
j e d � � Z e j
j e d d � Z e j e � Z e j e d e j �Z d d
� Z d d d d � Z d
d � Z d d d d d � Z d d � Z e j Z d S( u Support code for test_*.py filesi N( u dedent( u pytreeu refactor( u driveru ..u Grammar.txtu convertc C s t j t | � d d �S( Nu debugT( u driveru parse_stringu reformatu True( u string( ( u: /opt/alt/python33/lib64/python3.3/lib2to3/tests/support.pyu parse_string s u parse_stringc C sA | d k r$ t j � j | � } n t j d d � j | � d S( Nu verbosityi ( u Noneu unittestu
TestLoaderu loadTestsFromModuleu TextTestRunneru run( u test_modu tests( ( u: /opt/alt/python33/lib64/python3.3/lib2to3/tests/support.pyu
run_all_tests s u
run_all_testsc C s t | � d S( Nu
( u dedent( u string( ( u: /opt/alt/python33/lib64/python3.3/lib2to3/tests/support.pyu reformat s u reformatu lib2to3c s] | d k r( � f d d � | D� } n t j � d � } | pD i } t j | | d d �S( u
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.
c s g | ] } � d | � q S( u .fixes.fix_( ( u .0u fix( u fixer_pkg( u: /opt/alt/python33/lib64/python3.3/lib2to3/tests/support.pyu
<listcomp>* s u"