Current Dir: /snap/core22/2955/usr/lib/python3/dist-packages/setuptools/command/__pycache__/
[FILE] alias.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_egg.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_rpm.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_clib.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_ext.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_py.cpython-310.pyc [ edit | delete | rename ]
[FILE] develop.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] easy_install.cpython-310.pyc [ edit | delete | rename ]
[FILE] egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_lib.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_scripts.cpython-310.pyc [ edit | delete | rename ]
[FILE] py36compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] register.cpython-310.pyc [ edit | delete | rename ]
[FILE] rotate.cpython-310.pyc [ edit | delete | rename ]
[FILE] saveopts.cpython-310.pyc [ edit | delete | rename ]
[FILE] sdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] setopt.cpython-310.pyc [ edit | delete | rename ]
[FILE] test.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload_docs.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2955/usr/lib/python3/dist-packages/setuptools/command/__pycache__/test.cpython-310.pyc
o
�_�a� � @ 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 �9/usr/lib/python3/dist-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 �loadTestsFromName�len�
suiteClass)r �module�pattern�tests�file� submoduler r r r"