ACC SHELL

Path : /usr/lib/python/lib2to3/tests/
File Upload :
Current File : //usr/lib/python/lib2to3/tests/support.pyc

Ñò
sÄMc@s3dZddkZddkZddkZddkZddkZddklZddkl	Z	l
Z
ddklZei
ieƒZei
iei
iedƒƒZei
ieddƒZeieƒZeiede	iƒZd	„Zddd
„Zd„Zdddd
„Zd„ZeiZdS(s Support code for test_*.py filesiÿÿÿÿN(tdedent(tpytreetrefactor(tdrivers..sGrammar.txttconvertcCstit|ƒdtƒS(Ntdebug(Rtparse_stringtreformattTrue(tstring((s+/usr/lib/python2.6/lib2to3/tests/support.pyRscCsC|djotiƒi|ƒ}ntiddƒi|ƒdS(Nt	verbosityi(tNonetunittestt
TestLoadertloadTestsFromModuletTextTestRunnertrun(ttest_modttests((s+/usr/lib/python2.6/lib2to3/tests/support.pyt
run_all_testss
cCst|ƒdS(Nu

(R(R	((s+/usr/lib/python2.6/lib2to3/tests/support.pyRstlib2to3cCsp|dj	o-g}|D]}||d|q~}nti|dƒ}|ph}ti||dtƒ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.fixestexplicitN(RRtget_fixers_from_packagetRefactoringToolR(t	fixer_pkgtfixerstoptionst_[1]tfix((s+/usr/lib/python2.6/lib2to3/tests/support.pytget_refactorer!s

-
ccs`xYtitƒD]H\}}}x6|D].}|idƒotii||ƒVq&q&WqWdS(Ns.py(tostwalktproj_dirtendswithtpathtjoin(tdirpathtdirnamest	filenamestfilename((s+/usr/lib/python2.6/lib2to3/tests/support.pytall_project_files0s( t__doc__RtsysRtos.pathtrettextwrapRRRRt
lib2to3.pgen2RR"tdirnamet__file__ttest_dirtnormpathR#R tgrammar_pathtload_grammartgrammartDriverRRRRRRR(tTestCase(((s+/usr/lib/python2.6/lib2to3/tests/support.pyt<module>s&!			

ACC SHELL 2018