| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python310/lib/python3.10/site-packages/setuptools/command/__pycache__/ |
Upload File : |
o
fai� � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZmZ d dl m
Z
d dlmZ d dlm
Z
mZmZmZmZmZmZmZ d dlmZ d dlmZ G dd � d e�ZG d
d� d�ZG dd
� d
e�ZdS )� N)�DistutilsError�DistutilsOptionError)�log)�
TestLoader)�resource_listdir�resource_exists�normalize_path�working_set�evaluate_marker�add_activation_listener�require�
EntryPoint)�Command)�unique_everseenc @ � e Zd Zdd� Zddd�ZdS )�ScanningLoaderc C s t �| � t� | _d S �N)r �__init__�set�_visited��self� r ��/builddir/build/BUILDROOT/alt-python310-setuptools-58.3.0-4.el9.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/command/test.pyr s
zScanningLoader.__init__Nc C s� || j v rdS | j �|� g }|�t�| |�� t|d�r$|�|�� � t|d�r`t|jd�D ]0}|� d�rF|dkrF|jd |dd� }nt
|j|d �rV|jd | }nq/|�| �|�� q/t|�d
krk| �
|�S |d S )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__.py� r )r �add�appendr �loadTestsFromModule�hasattrr r �__name__�endswithr ZloadTestsFromName�lenZ
suiteClass)r �module�pattern�tests�file� submoduler r r r"