/snap/core24/1643/usr/lib/python3.12/test/libregrtest/__pycache__
Edit: /snap/core24/1643/usr/lib/python3.12/test/libregrtest/__pycache__/main.cpython-312.pyc (30954B)
Цif X d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZm Z m
Z
ddlmZm
Z
ddlmZmZmZ ddlmZ ddlmZ ddlmZ dd lmZmZ dd
lmZmZ ddlmZmZ ddl m!Z!m"Z" dd
l#m$Z$ ddl%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9 G d d Z:ddZ;y) N) os_helper
MS_WINDOWSflush_std_streams )_parse_args Namespace) findtestssplit_test_packages
list_cases)Logger)setup_pgo_tests)State)TestResultsEXITCODE_INTERRUPTED)RunTestsHuntRefleak)
setup_processsetup_test_dir)run_single_testPROGRESS_MIN_TIME)setup_tsan_tests)StrPathStrJSONTestNameTestList TestTuple
TestFilterstrip_py_suffixcountformat_duration printlistget_temp_dirget_work_direxit_timeoutdisplay_headercleanup_temp_dir
print_warningis_cross_compiledget_host_runnerprocess_cpu_countEXIT_TIMEOUTc \ e Zd ZdZd%dedefdZd&dZd'dedz de e
edz f fd Zede
fd
Z
defdZdefd
ZdedededefdZdeddfdZd ZdedefdZd Zd ZdededdfdZd Zd Zde
fdZde
dedz defdZde
dedz defdZd Z d Z!d! Z"d" Z#d# Z$d'dedz fd$Z%y)(Regrtestaa Execute a test suite.
This also parses command-line options and modifies its behavior
accordingly.
tests -- a list of strings containing test names (optional)
testdir -- the directory in which to look for tests (optional)
Users other than the Python test suite will certainly want to
specify testdir; if it's omitted, the directory containing the
Python test suite is searched for.
If the tests argument is omitted, the tests listed on the
command-line will be used. If that's empty, too, then all *.py
files beginning with test_ will be used.
The other default arguments (verbose, quiet, exclude,
single, randomize, use_resources, trace, coverdir,
print_slow, and random_seed) allow programmers calling main()
directly to set the values that would normally be set by flags
on the command line.
ns_add_python_optsc t |j | _ |j | _ |j | _ |j | _ |j
| _ t
| _ d | _ t | j | j | j | _
|j | _ |j | _ |j | _ |j" | _ |j&