/usr/lib/python3.9/site-packages/setuptools/command/__pycache__
Edit: /usr/lib/python3.9/site-packages/setuptools/command/__pycache__/test.cpython-39.pyc (8464B)
a
ˆåÏhý$ ã @ sÎ d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZmZ d dl m
Z
d dlmZ d dlm
Z
mZmZmZmZmZmZmZmZ d dlmZ ddlmZ G d d
„ d
eƒZG dd„ dƒZG d
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 @ s e Zd Zdd„ Zddd„ZdS )ÚScanningLoaderc C s t | ¡ tƒ | _d S ©N)r Ú__init__ÚsetÚ_visited©Úself© r ú;/usr/lib/python3.9/site-packages/setuptools/command/test.pyr s
zScanningLoader.__init__Nc C sâ || j v rdS | 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 S dS )a Return 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__.pyr r )r ÚaddÚappendr ÚloadTestsFromModuleÚhasattrr r Ú__name__Úendswithr ZloadTestsFromNameÚlenZ
suiteClass)r ÚmoduleÚpatternZtestsÚfileZ submoduler r r r" s$
z"ScanningLoader.loadTestsFromModule)N)r$ Ú
__module__Ú__qualname__r r" r r r r r s r c @ s e Zd Zdd„ Zddd„ZdS )ÚNonDataPropertyc C s
|| _ d S r ©Úfget)r r. r r r r <