File "test.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyc
File size: 11.68 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


Rec@s>ddlZddlZddlZddlZddlZddlmZmZddlm	Z	ddl
mZddlm
Z
ddlmZmZddlmZmZmZmZmZmZmZmZmZddlmZdd	lmZd
efdYZde fd
YZ!defdYZ"dS(iN(tDistutilsErrortDistutilsOptionError(tlog(t
TestLoader(tsix(tmaptfilter(	tresource_listdirtresource_existstnormalize_pathtworking_sett_namespace_packagestevaluate_markertadd_activation_listenertrequiret
EntryPoint(tCommand(t
unittest_maintScanningLoadercBseZddZRS(cCsg}|jtj||t|drD|j|jnt|drxt|jdD]|}|jdr|dkr|jd|d }n-t|j|drf|jd|}nqf|j|j	|qfWnt
|d	kr|j|S|d
SdS(sReturn a suite of all tests cases contained in the given module

        If the module is a package, load tests from all the modules in it.
        If the module has an ``additional_tests`` function, call it and add
        the return value to the tests.
        tadditional_testst__path__ts.pys__init__.pyt.is/__init__.pyiiN(tappendRtloadTestsFromModulethasattrRRt__name__tendswithRtloadTestsFromNametlent
suiteClass(tselftmoduletpatterntteststfilet	submodule((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyRs
N(Rt
__module__tNoneR(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyRstNonDataPropertycBseZdZddZRS(cCs
||_dS(N(tfget(RR(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyt__init__5scCs|dkr|S|j|S(N(R&R((Rtobjtobjtype((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyt__get__8sN(RR%R)R&R,(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyR'4s	ttestcBseZdZdZdddgZdZdZed
ZdZ	dZ
ejgdZ
eejdZedZdZdZedZedZRS(s.Command to run unit tests after in-place builds#run unit tests after in-place buildstest-module=tms$Run 'test_suite' in specified modulestest-suite=tss9Run single test, case or suite (e.g. 'module.test_suite')stest-runner=trsTest runner to usecCs(d|_d|_d|_d|_dS(N(R&t
test_suitettest_modulettest_loaderttest_runner(R((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pytinitialize_optionsJs			cCs|jr'|jr'd}t|n|jdkrj|jdkrW|jj|_qj|jd|_n|jdkrt|jdd|_n|jdkrd|_n|jdkrt|jdd|_ndS(Ns1You may specify a module or a suite, but not boths.test_suiteR3s&setuptools.command.test:ScanningLoaderR4(R1R2RR&tdistributionR3tgetattrR4(Rtmsg((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pytfinalize_optionsPscCst|jS(N(tlistt
_test_args(R((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyt	test_argscsccs)|jrdVn|jr%|jVndS(Ns	--verbose(tverboseR1(R((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyR;gs		cCs|j|WdQXdS(sI
        Backward compatibility for project_on_sys_path context.
        N(tproject_on_sys_path(Rtfunc((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pytwith_project_on_sys_pathms
c	cstjot|jdt}|r|jddd|jd|jd}t|j	}|jdd||jd|jddd|jdn-|jd|jddd|jd|jd}t
j}t
jj
}zut|j}t
jjd|tjtd	td
|j|jf|j|g
dVWdQXWd|t
j(t
jjt
jj|tjXdS(Ntuse_2to3tbuild_pytinplaceitegg_infotegg_baset	build_exticSs
|jS(N(tactivate(tdist((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyt<lambda>Rs%s==%s(RtPY3R7R6tFalsetreinitialize_commandtrun_commandtget_finalized_commandR	t	build_libtsystpathtmodulestcopyREtinsertR
R)R
Rtegg_nametegg_versiontpaths_on_pythonpathtcleartupdate(	Rt
include_distst	with_2to3tbpy_cmdt
build_pathtei_cmdtold_pathtold_modulestproject_path((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyR>ts8








ccst}tjjd|}tjjdd}zXtjj|}td||g}tjj|}|r|tjd<ndVWd||krtjjddn
|tjd<XdS(s
        Add the indicated paths to the head of the PYTHONPATH environment
        variable so that subprocesses will also see the packages at
        these paths.

        Do this in a context that restores the value on exit.
        t
PYTHONPATHRN(	tobjecttostenvirontgettpathseptjoinRR&tpop(tpathstnothingtorig_pythonpathtcurrent_pythonpathtprefixtto_jointnew_path((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyRWs
		cCs_|j|j}|j|jp$g}|jd|jjD}tj|||S(s
        Install the requirements indicated by self.distribution and
        return an iterable of the dists that were built.
        css:|]0\}}|jdrt|dr|VqdS(t:iN(t
startswithR(t.0tktv((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pys	<genexpr>s	(tfetch_build_eggstinstall_requirest
tests_requiretextras_requiretitemst	itertoolstchain(RHtir_dttr_dter_d((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyt
install_distss
c	Cs|j|j}dj|j}|jrB|jd|dS|jd|ttjd|}|j	|"|j
|jWdQXWdQXdS(Nt sskipping "%s" (dry run)srunning "%s"tlocation(RR6Rht_argvtdry_runtannounceRtoperatort
attrgetterRWR>t	run_tests(Rtinstalled_diststcmdRj((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pytruns	
c	Csatjrt|jdtr|jjdd}|tkrg}|tj	kre|j
|n|d7}x0tj	D]%}|j|ry|j
|qyqyWtt
tj	j|qntjd
krin
itd6}tdd|jd|j|jd|j|j|}|jjs]d	|j}|j|tjt|ndS(NRARiiitexitt
testLoadert
testRunnersTest failed: %s(ii(RRJR7R6RKR1tsplitRRPRRRRrR:Rt__delitem__tversion_infoRR&Rt_resolve_as_epR3R4tresultt
wasSuccessfulRRtERRORR(RR tdel_modulestnamet
exit_kwargR-R8((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyRs*
"	
cCsdg|jS(Ntunittest(R<(R((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyRscCs0|dkrdStjd|}|jS(su
        Load the indicated attribute value, called, as a as if it were
        specified as an entry point.
        Nsx=(R&Rtparsetresolve(tvaltparsed((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyRs(stest-module=R.s$Run 'test_suite' in specified module(stest-suite=R/s9Run single test, case or suite (e.g. 'module.test_suite')(stest-runner=R0sTest runner to use(RR%t__doc__tdescriptiontuser_optionsR5R9R'R<R;R@t
contextlibtcontextmanagerR>tstaticmethodRWRRRtpropertyRR(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyR->s(					-		(#RdRRPRR{tdistutils.errorsRRt	distutilsRRRtsetuptools.externRtsetuptools.extern.six.movesRRt
pkg_resourcesRRR	R
RRR
RRt
setuptoolsRtsetuptools.py31compatRRRcR'R-(((s/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyt<module>s@