Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/test/test_doc.pyc


3VNc@sddlZddlZddlmZddlmZddlmZddlm	Z	dddZ
d	ejfd
YZdS(iN(tpath(tunittest(treflect(t	getModuleitcCsd|||fS(s
    Return a filename formatted so emacs will recognize it as an error point

    @param line: Line number in file.  Defaults to 17 because that's about how
        long the copyright headers are.
    s%s:%d:%s((tftlinetname((s9/usr/lib/python2.7/dist-packages/twisted/test/test_doc.pyterrorInFile
stDocCoveragecBs;eZdZdZdZdZdZde_RS(s=
    Looking for docstrings in all modules and packages.
    cCsLg|_x<tdjD](}|jr|jj|jqqWdS(Nttwisted(tpackageNamesRtwalkModulest	isPackagetappendR(tselftmod((s9/usr/lib/python2.7/dist-packages/twisted/test/test_doc.pytsetUps	cCsg}xe|jD]Z}|dkr(qnytj|}Wntk
rP}qX|j|j||qW|j|ddjtt	|fdS(s8
        Looking for docstrings in all modules.
        stwisted.tests!No docstrings in module files:
%ss
N(stwisted.test(
RRtnamedModuletImportErrortextendtmodulesInPackagetfailIftjointmapR(RtdoclesstpackageNametpackagete((s9/usr/lib/python2.7/dist-packages/twisted/test/test_doc.pyttestModules#sc	Csg}tj|j}xtjtj|dD]}tj|}|dkr[q4n|dkrmq4ny"tjdj||g}Wnt	k
r}q4Xtj
|s4|j|q4q4W|S(Ns*.pyt__init__t
spelunk_gnomet
gtkmanholet.(RR (Rtdirnamet__file__tglobRtinspectt
getmodulenameRRt	ExceptiontgetdocR(	RRRRt	directorytmodfilet
moduleNametmoduleR((s9/usr/lib/python2.7/dist-packages/twisted/test/test_doc.pyR:s "cCsg}xh|jD]]}ytj|}Wntk
r>}qXtj|s|j|jjddqqW|j	|ddj
tt|dS(s9
        Looking for docstrings in all packages.
        s.pycs.pys"No docstrings for package files
%ss
N(
RRRR'R%R(RR#treplaceRRRR(RRRRR((s9/usr/lib/python2.7/dist-packages/twisted/test/test_doc.pyttestPackagesRs#sPActivate me when you feel like writing docstrings, and fixing GTK crashing bugs.(t__name__t
__module__t__doc__RRRR.tskip(((s9/usr/lib/python2.7/dist-packages/twisted/test/test_doc.pyR	s				(
R%R$tosRt
twisted.trialRttwisted.pythonRttwisted.python.modulesRRtTestCaseR	(((s9/usr/lib/python2.7/dist-packages/twisted/test/test_doc.pyt<module>s