File "test.cpython-38.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib/python3.8/site-packages/setuptools/command/__pycache__/test.cpython-38.pyc
File size: 8.28 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
U
Qab% @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZmZ d dl m
Z
d dlmZ d dlm
Z
d dlmZmZ d dlmZmZmZmZmZmZmZmZmZ d dlmZ d d
lmZ eZ G dd deZ!G d
d dZ"G dd deZ#dS ) N)DistutilsErrorDistutilsOptionError)log)
TestLoader)six)mapfilter) resource_listdirresource_existsnormalize_pathworking_set_namespace_packagesevaluate_markeradd_activation_listenerrequire
EntryPoint)Command )_unique_everseenc @ s e Zd Zdd ZdddZdS )ScanningLoaderc C s t | t | _d S N)r __init__set_visitedself r ;/usr/lib/python3.8/site-packages/setuptools/command/test.pyr s
zScanningLoader.__init__Nc C s || j krdS | j | g }|t| | t|drH|| t|drt|jdD ]`}| dr|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.
Nadditional_tests__path__ z.pyz__init__.py.z/__init__.pyr r )r addappendr loadTestsFromModulehasattrr r __name__endswithr
ZloadTestsFromNamelenZ
suiteClass)r modulepatternZtestsfileZ submoduler r r r% s$
z"ScanningLoader.loadTestsFromModule)N)r'