/usr/lib/python3.9/site-packages/setuptools/command/__pycache__
NameSizeModeActions
alias.cpython-39.opt-1.pyc23370644editdlrm
alias.cpython-39.pyc23370644editdlrm
bdist_egg.cpython-39.opt-1.pyc130030644editdlrm
bdist_egg.cpython-39.pyc130030644editdlrm
bdist_rpm.cpython-39.opt-1.pyc13230644editdlrm
bdist_rpm.cpython-39.pyc13230644editdlrm
bdist_wininst.cpython-39.opt-1.pyc11890644editdlrm
bdist_wininst.cpython-39.pyc11890644editdlrm
build_clib.cpython-39.opt-1.pyc24340644editdlrm
build_clib.cpython-39.pyc24340644editdlrm
build_ext.cpython-39.opt-1.pyc96930644editdlrm
build_ext.cpython-39.pyc97070644editdlrm
build_py.cpython-39.opt-1.pyc86610644editdlrm
build_py.cpython-39.pyc86610644editdlrm
develop.cpython-39.opt-1.pyc64220644editdlrm
develop.cpython-39.pyc64220644editdlrm
dist_info.cpython-39.opt-1.pyc13610644editdlrm
dist_info.cpython-39.pyc13610644editdlrm
easy_install.cpython-39.opt-1.pyc635160644editdlrm
easy_install.cpython-39.pyc635450644editdlrm
egg_info.cpython-39.opt-1.pyc219440644editdlrm
egg_info.cpython-39.pyc219440644editdlrm
install.cpython-39.opt-1.pyc40020644editdlrm
install.cpython-39.pyc40020644editdlrm
install_egg_info.cpython-39.opt-1.pyc23930644editdlrm
install_egg_info.cpython-39.pyc23930644editdlrm
install_lib.cpython-39.opt-1.pyc40820644editdlrm
install_lib.cpython-39.pyc41000644editdlrm
install_scripts.cpython-39.opt-1.pyc23160644editdlrm
install_scripts.cpython-39.pyc23160644editdlrm
py36compat.cpython-39.opt-1.pyc45550644editdlrm
py36compat.cpython-39.pyc45550644editdlrm
register.cpython-39.opt-1.pyc8110644editdlrm
register.cpython-39.pyc8110644editdlrm
rotate.cpython-39.opt-1.pyc24700644editdlrm
rotate.cpython-39.pyc24700644editdlrm
saveopts.cpython-39.opt-1.pyc8890644editdlrm
saveopts.cpython-39.pyc8890644editdlrm
sdist.cpython-39.opt-1.pyc64300644editdlrm
sdist.cpython-39.pyc64300644editdlrm
setopt.cpython-39.opt-1.pyc45010644editdlrm
setopt.cpython-39.pyc45010644editdlrm
test.cpython-39.opt-1.pyc84640644editdlrm
test.cpython-39.pyc84640644editdlrm
upload.cpython-39.opt-1.pyc7840644editdlrm
upload.cpython-39.pyc7840644editdlrm
upload_docs.cpython-39.opt-1.pyc60360644editdlrm
upload_docs.cpython-39.pyc60540644editdlrm
__init__.cpython-39.opt-1.pyc6340644editdlrm
__init__.cpython-39.pyc6340644editdlrm
Edit: /usr/lib/python3.9/site-packages/setuptools/command/__pycache__/test.cpython-39.pyc (8464B)
a ˆåÏhý$ã@sÎddlZddlZddlZddlZddlZddlZddlmZmZddl m Z ddlm Z ddl m Z mZmZmZmZmZmZmZmZddlmZddlmZGd d „d e ƒZGd d „d ƒZGd d„deƒZdS)éN)ÚDistutilsErrorÚDistutilsOptionError)Úlog)Ú TestLoader) Úresource_listdirÚresource_existsÚnormalize_pathÚ working_setÚ_namespace_packagesÚevaluate_markerÚadd_activation_listenerÚrequireÚ EntryPoint)ÚCommandé)Ú_unique_everseenc@seZdZdd„Zddd„ZdS)ÚScanningLoadercCst |¡tƒ|_dS©N)rÚ__init__ÚsetÚ_visited©Úself©rú;/usr/lib/python3.9/site-packages/setuptools/command/test.pyrs zScanningLoader.__init__NcCsâ||jvrdS|j |¡g}| t ||¡¡t|dƒrH| | ¡¡t|dƒrÀt|jdƒD]`}|  d¡rŒ|dkrŒ|jd|dd…}n"t |j|d ƒr^|jd|}nq^| |  |¡¡q^t |ƒd krÖ|  |¡S|d SdS) aReturn 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. NÚadditional_testsÚ__path__Úz.pyz __init__.pyÚ.éýÿÿÿz /__init__.pyrr)rÚaddÚappendrÚloadTestsFromModuleÚhasattrrrÚ__name__ÚendswithrZloadTestsFromNameÚlenZ suiteClass)rÚmoduleÚpatternZtestsÚfileZ submodulerrrr"s$      z"ScanningLoader.loadTestsFromModule)N)r$Ú __module__Ú __qualname__rr"rrrrrsrc@seZdZdd„Zddd„ZdS)ÚNonDataPropertycCs ||_dSr©Úfget)rr.rrrr<szNonDataProperty.__init__NcCs|dur |S| |¡Srr-)rÚobjZobjtyperrrÚ__get__?szNonDataProperty.__get__)N)r$r*r+rr0rrrrr,;sr,c@s eZdZdZdZgd¢Zdd„Zdd„Zedd „ƒZ d d „Z d d „Z e j gfdd„ƒZee j dd„ƒƒZedd„ƒZdd„Zdd„Zedd„ƒZedd„ƒZdS)Útestz.Command to run unit tests after in-place buildz0run unit tests after in-place build (deprecated)))z test-module=Úmz$Run 'test_suite' in specified module)z test-suite=Úsz9Run single test, case or suite (e.g. 'module.test_suite'))z test-runner=ÚrzTest runner to usecCsd|_d|_d|_d|_dSr)Ú test_suiteÚ test_moduleÚ test_loaderÚ test_runnerrrrrÚinitialize_optionsQsztest.initialize_optionscCsŒ|jr|jrd}t|ƒ‚|jdurD|jdur8|jj|_n |jd|_|jdur^t|jddƒ|_|jdurnd|_|jdurˆt|jddƒ|_dS)Nz1You may specify a module or a suite, but not bothz .test_suiter7z&setuptools.command.test:ScanningLoaderr8)r5r6rÚ distributionr7Úgetattrr8)rÚmsgrrrÚfinalize_optionsWs        ztest.finalize_optionscCs t| ¡ƒSr)ÚlistÚ _test_argsrrrrÚ test_argsjsztest.test_argsccs4|jstjdkrdV|jr"dV|jr0|jVdS)N)ééZdiscoverz --verbose)r5ÚsysÚ version_infoÚverboserrrrr?ns ztest._test_argscCs2| ¡�|ƒWdƒn1s$0YdS)zI Backward compatibility for project_on_sys_path context. N)Úproject_on_sys_path)rÚfuncrrrÚwith_project_on_sys_pathvs ztest.with_project_on_sys_pathc csŒt|jddƒ}|rp|jddd�| d¡| d¡}t|jƒ}|jd|d�| d¡|jddd�| d¡n"| d¡|jdd d�| d¡| d¡}tjdd…}tj   ¡}z¤t|j ƒ}tj  d|¡t  ¡td d „ƒtd |j|jfƒ| |g¡�dVWdƒn1�s 0YW|tjdd…<tj  ¡tj  |¡t  ¡n.|tjdd…<tj  ¡tj  |¡t  ¡0dS) NÚuse_2to3FÚbuild_pyr)ZinplaceZegg_info)Úegg_baseZ build_extrcSs| ¡Sr)Zactivate)ÚdistrrrÚ¡óz*test.project_on_sys_path..z%s==%s)r;r:Zreinitialize_commandZ run_commandZget_finalized_commandrZ build_librCÚpathÚmodulesÚcopyrKÚinsertr rr r Zegg_nameZ egg_versionÚpaths_on_pythonpathÚclearÚupdate) rZ include_distsZ with_2to3Zbpy_cmdZ build_pathZei_cmdZold_pathZ old_modulesZ project_pathrrrrF}s@           (   ý  ztest.project_on_sys_pathc cs°tƒ}tj d|¡}tj dd¡}zdtj t|ƒ¡}td||gƒ}tj |¡}|r\|tjd<dVW||ur|tj dd¡q¬|tjd<n$||ur tj dd¡n |tjd<0dS)zë 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. Z PYTHONPATHrN) ÚobjectÚosÚenvironÚgetÚpathsepÚjoinrÚfilterÚpop)ÚpathsZnothingZorig_pythonpathZcurrent_pythonpathÚprefixZto_joinÚnew_pathrrrrS«s    ýztest.paths_on_pythonpathcCsD| |j¡}| |jpg¡}| dd„|j ¡Dƒ¡}t |||¡S)z† Install the requirements indicated by self.distribution and return an iterable of the dists that were built. css0|](\}}| d¡rt|dd…ƒr|VqdS)ú:rN)Ú startswithr )Ú.0ÚkÚvrrrÚ Ísÿz%test.install_dists..)Zfetch_build_eggsZinstall_requiresZ tests_requireZextras_requireÚitemsÚ itertoolsÚchain)rLZir_dZtr_dZer_drrrÚ install_distsÅs   ÿztest.install_distsc Csº| dtj¡| |j¡}d |j¡}|jr>| d|¡dS| d|¡tt   d¡|ƒ}|  |¡�@|  ¡�|  ¡Wdƒn1sŽ0YWdƒn1s¬0YdS)Nz»WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.ú zskipping "%s" (dry run)z running "%s"Úlocation)ÚannouncerZWARNrjr:r[Ú_argvÚdry_runÚmapÚoperatorÚ attrgetterrSrFÚ run_tests)rZinstalled_distsÚcmdr^rrrÚrunÓsû    ztest.runcCsÎt|jddƒrx|j d¡d}|tvrxg}|tjvr>| |¡|d7}tjD]}| |¡rL| |¡qLt t tjj |ƒƒt j dd|j| |j¡| |j¡dd�}|j ¡sÊd|j}| |tj¡t|ƒ‚dS)NrIFrr)Z testLoaderZ testRunnerÚexitzTest failed: %s)r;r:r5Úsplitr rCrPr!rbr>rpÚ __delitem__ÚunittestÚmainrnÚ_resolve_as_epr7r8ÚresultZ wasSuccessfulrmrZERRORr)rr'Z del_modulesÚnamer1r<rrrrsês*       ü  ztest.run_testscCs dg|jS)Nry)r@rrrrrnsz test._argvcCs$|dur dSt d|¡}| ¡ƒS)zu Load the indicated attribute value, called, as a as if it were specified as an entry point. Nzx=)rÚparseÚresolve)ÚvalÚparsedrrrr{ sztest._resolve_as_epN)r$r*r+Ú__doc__Ú descriptionZ user_optionsr9r=r,r@r?rHÚ contextlibÚcontextmanagerrFÚ staticmethodrSrjrursÚpropertyrnr{rrrrr1Es, -   r1)rWrqrCr„rhryZdistutils.errorsrrZ distutilsrrZ pkg_resourcesrrrr r r r r rZ setuptoolsrrJrrr,r1rrrrÚs  ,  )