Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/distutils/tests/test_check.pyc

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


��Qc@s�dZddlZddlmZddlmZmZddlmZddl	m
Z
dejejej
fd��YZd	�Zed
kr�ee��ndS(s"Tests for distutils.command.check.i�N(trun_unittest(tchecktHAS_DOCUTILS(tsupport(tDistutilsSetupErrort
CheckTestCasecBs8eZdd�Zd�Zd�Zd�Zd�ZRS(cKs�|dkri}n|j|�\}}t|�}|j�x*|j�D]\}}t|||�qMW|j�|j�|S(N(tNonetcreate_distRtinitialize_optionstitemstsetattrtensure_finalizedtrun(tselftmetadatatoptionstpkg_infotdisttcmdtnametvalue((s0/sys/lib/python2.7/distutils/tests/test_check.pyt_runs	


cCs|j�}|j|jd�idd6dd6dd6dd6dd6}|j|�}|j|jd�|jt|jiid	d
6�|j|d
d	�}|j|jd�idd6dd6dd6dd
6dd6dd6dd6}|j|�}|j|jd�dS(Nitxxxturltauthortauthor_emailRtversioniitstrictuxxxuÉricunameuSomething about esszet ßtdescriptionuMore things about esszet ßtlong_description(RtassertEqualt	_warningstassertRaisesR(R
RR((s0/sys/lib/python2.7/distutils/tests/test_check.pyttest_check_metadatas" 
cCs�ts
dS|j�\}}t|�}d}|j|�}|jt|�d�d}|j|�}|jt|�d�dS(Nstitle
===

testistitle
=====

testi(RRRt_check_rst_dataRtlen(R
RRRtbroken_resttmsgstrest((s0/sys/lib/python2.7/distutils/tests/test_check.pyttest_check_document;scCs�ts
dSd}|jd|�\}}t|�}|j�|j|jd�idd6dd6dd6dd6dd	6|d6}|jt|j|idd
6dd6�d|d<|j|d
ddd�}|j|jd
�dS(Nstitle
===

testRiRRRRRRRtrestructuredtextutitle
=====

test ßi(	RRRtcheck_restructuredtextRRR RR(R
R$RRRR((s0/sys/lib/python2.7/distutils/tests/test_check.pyttest_check_restructuredtextKs 


cCs?idd6dd6}|jt|jiidd6dd6�dS(NRRRiRR((R RR(R
R((s0/sys/lib/python2.7/distutils/tests/test_check.pyttest_check_allbs
N(t__name__t
__module__RRR!R'R*R+(((s0/sys/lib/python2.7/distutils/tests/test_check.pyR
s
	!		cCs
tjt�S(N(tunittestt	makeSuiteR(((s0/sys/lib/python2.7/distutils/tests/test_check.pyt
test_suiteist__main__(t__doc__R.ttest.test_supportRtdistutils.command.checkRRtdistutils.testsRtdistutils.errorsRtLoggingSilencertTempdirManagertTestCaseRR0R,(((s0/sys/lib/python2.7/distutils/tests/test_check.pyt<module>s	]	

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].