%PDF- %PDF-
Direktori : /usr/lib/python3.12/test/libregrtest/__pycache__/ |
Current File : //usr/lib/python3.12/test/libregrtest/__pycache__/single.cpython-312.pyc |
� 3�+g�) � �N � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm Z d dl mZ ddlm Z ddlmZmZmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZmZmZmZmZ dZ d � Z!d� Z"d� Z#dededdfd�Z$g Z%dededdfd�Z& ddedede'ddfd�Z(dededdfd�Z)dededefd�Z*y)� N)�support)�threading_helper� )� match_test)�State� TestResult� TestStats)�RunTests)�saved_test_environment)�setup_tests)�get_test_runner)�TestName�clear_caches� remove_testfn�abs_module_name� print_warningg >@c � � t j � }|j | � }|j D ] }t |t j �� � |j rt d� �t |t � t |� S )N)�filezerrors while loading tests)�unittest� TestLoader�loadTestsFromModule�errors�print�sys�stderr� Exception� _filter_suiter � _run_suite)�test_mod�loader�tests�errors �./usr/lib/python3.12/test/libregrtest/single.py�run_unittestr$ si � � � � � "�F��&�&�x�0�E���� &�� �e�#�*�*�%�&� �}�}��4�5�5��%��$��e��� c �� � g }| j D ]T }t |t j � rt ||� |j |� �; ||� s�D|j |� �V || _ y)z>Recursively filter test cases in a suite based on a predicate.N)�_tests� isinstancer � TestSuiter �append)�suite�pred�newtests�tests r# r r '