Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/lib2to3/tests/pytree_idempotency.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@s�dZdZddlmZddlZddlZddlZddlmZddlZddlm	Z	ej
�d	�Zd
�Ze
dkr�e�ndS(s,Main program for testing the infrastructure.s#Guido van Rossum <[email protected]>i(tsupporti�Ni(tpytree(tdriverc
Csjtjd�}tj|dtj�}d}|j|dt�}t||�sYdGHntj	dsjdSg}x�tj
D]�}tj
|}|dkszt|d�r�qzn|j
}|jd�r�|d	 }n|jd
�s�zntjdI|IJ|j|dt�}t||�rz|j|�qzqzWxtjD]�ytj|�}Wntjk
rpq>nXtjdI|Id
IJx�|D]�}|jd
�s�q�ntjdI|IJtjj||�}y|j|dt�}Wn"tjjk
r}	dG|	GHq�Xt||�r�|j|�q�q�Wq>W|sGdGHndGHx|D]}dG|GHqSWdS(NsGrammar.txttconverts
example.pytdebugs	No diffs.it__file__s.pyci�s.pytParsingtScannings...sParseError:sNo problems.  Congratulations!sProblems in following files:s***(Rtload_grammartDriverRRt
parse_filetTruetdifftsystargvtmodulestNonethasattrRtendswithtstderrtappendtpathtostlistdirterrortjointpgen2tparset
ParseError(
tgrtdrtfnttreetproblemstnametmodtdirtnamesterr((s6/sys/lib/python2.7/lib2to3/tests/pytree_idempotency.pytmainsX

	



cCs^tdd�}z|jt|��Wd|j�Xztjd|�SWdtjd�XdS(Nt@twsdiff -u %s @(topentwritetstrtcloseRtsystemtremove(RR tf((s6/sys/lib/python2.7/lib2to3/tests/pytree_idempotency.pyRPst__main__(t__doc__t
__author__tRRR
tloggingRRRtbasicConfigR'Rt__name__(((s6/sys/lib/python2.7/lib2to3/tests/pytree_idempotency.pyt<module>s
	8	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].