Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.218.230.170
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : regrtest.pyo
�
?��cc@shdZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZx~ejj�D]mZeed�r1gejD]Zejje�^q
e_need�r[ejjej�e_nq�Wejdkr�yddlZWnek
r�nNXejej�\ZZ e!e e"edd��Z#ej$eje#e f�nejdkryddl%Z%Wne&k
rnXnd	Z'd
Z(dZ)dZ*dZ+d
Z,dZ-dZ.dZ/dZ0ddl1m2Z2dddddddddddfZ3e3dfZ4ejjej5��a6dd�Z7d �Z8id!e'6d"e(6d#e)6d$e*6d%e+6d&e,6d'e-6d(e.6Z9d)�Z:d*�Z;d+�Z<e=e=d
e>e>e>e>e=e>e=e>d,e>e>e>e>e=e=e>e>e>e>e>e=d-�Z?d.d/d0d1d2d3d4d5d6g	Z@d7d8d9hZAe=e@eAd:�ZBe>e=e>e>e=e=d;�ZCd<fd=��YZDd>�ZEe>e>e=d?�ZFd@�ZGdA�ZHdB�ZIdC�ZJdD�ZKe=dE�ZLdF�ZMdG�ZNdHdIe=dJ�ZOdK�ZPdL�ZQdM�ZRidNd6dOdP6dQdR6dQdS6dTdU6dVdW6dXd6dYdZ6d[d\6d]d^6d_d`6dadb6dcdd6dedf6dgdh6didj6ZSeSddeSdk<eSddeSdl<eSddeSdm<eSddeSdn<dofdp��YZTdq�ZUeVdrkrdejjt�aeU�ndS(ss�
Usage:

python -m test.regrtest [options] [test_name1 [test_name2 ...]]
python path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2 ...]]


If no arguments or options are provided, finds all files matching
the pattern "test_*" in the Lib/test subdirectory and runs
them in alphabetical order (but see -M and -u, below, for exceptions).

For more rigorous testing, it is useful to use the following
command line:

python -E -tt -Wd -3 -m test.regrtest [options] [test_name1 ...]


Options:

-h/--help       -- print this text and exit

Verbosity

-v/--verbose    -- run tests in verbose mode with output to stdout
-w/--verbose2   -- re-run failed tests in verbose mode
-W/--verbose3   -- re-run failed tests in verbose mode immediately
-q/--quiet      -- no output unless one or more tests fail
-S/--slowest    -- print the slowest 10 tests
   --header     -- print header with interpreter info

Selecting tests

-r/--randomize  -- randomize test execution order (see below)
   --randseed   -- pass a random seed to reproduce a previous random run
-f/--fromfile   -- read names of tests to run from a file (see below)
-x/--exclude    -- arguments are tests to *exclude*
-s/--single     -- single step through a set of tests (see below)
-m/--match PAT  -- match test cases and methods with glob pattern PAT
--matchfile FILENAME -- filters tests using a text file, one pattern per line
-G/--failfast   -- fail as soon as a test fails (only with -v or -W)
-u/--use RES1,RES2,...
                -- specify which special resource intensive tests to run
-M/--memlimit LIMIT
                -- run very large memory-consuming tests

Special runs

-l/--findleaks  -- if GC is available detect tests that leak memory
-L/--runleaks   -- run the leaks(1) command just before exit
-R/--huntrleaks RUNCOUNTS
                -- search for reference leaks (needs debug build, v. slow)
-j/--multiprocess PROCESSES
                -- run PROCESSES processes at once
-T/--coverage   -- turn on code coverage tracing using the trace module
-D/--coverdir DIRECTORY
                -- Directory where coverage files are put
-N/--nocoverdir -- Put coverage files alongside modules
-t/--threshold THRESHOLD
                -- call gc.set_threshold(THRESHOLD)
-F/--forever    -- run the specified tests in a loop, until an error happens
-P/--pgo        -- enable Profile Guided Optimization training
--testdir       -- execute test files in the specified directory
                   (instead of the Python stdlib test suite)
--list-tests    -- only write the name of tests that will be run,
                   don't execute them
--list-cases    -- only write the name of test cases that will be run,
                   don't execute them
--fail-env-changed  -- if a test file alters the environment, mark the test
                       as failed


Additional Option Details:

-r randomizes test execution order. You can use --randseed=int to provide an
int seed value for the randomizer; this is useful for reproducing troublesome
test orders.

-s On the first invocation of regrtest using -s, the first test file found
or the first test file given on the command line is run, and the name of
the next test is recorded in a file named pynexttest.  If run from the
Python build directory, pynexttest is located in the 'build' subdirectory,
otherwise it is located in tempfile.gettempdir().  On subsequent runs,
the test in pynexttest is run, and the next test is written to pynexttest.
When the last test has been run, pynexttest is deleted.  In this way it
is possible to single step through the test files.  This is useful when
doing memory analysis on the Python interpreter, which process tends to
consume too many resources to run the full regression test non-stop.

-f reads the names of tests from the file given as f's argument, one
or more test names per line.  Whitespace is ignored.  Blank lines and
lines beginning with '#' are ignored.  This is especially useful for
whittling down failures involving interactions among tests.

-L causes the leaks(1) command to be run just before exit if it exists.
leaks(1) is available on Mac OS X and presumably on some other
FreeBSD-derived systems.

-R runs each test several times and examines sys.gettotalrefcount() to
see if the test appears to be leaking references.  The argument should
be of the form stab:run:fname where 'stab' is the number of times the
test is run to let gettotalrefcount settle down, 'run' is the number
of times further it is run and 'fname' is the name of the file the
reports are written to.  These parameters all have defaults (5, 4 and
"reflog.txt" respectively), and the minimal invocation is '-R :'.

-M runs tests that require an exorbitant amount of memory. These tests
typically try to ascertain containers keep working when containing more than
2 billion objects, which only works on 64-bit systems. There are also some
tests that try to exhaust the address space of the process, which only makes
sense on 32-bit systems with at least 2Gb of memory. The passed-in memlimit,
which is a string in the form of '2.5Gb', determines howmuch memory the
tests will limit themselves to (but they may go slightly over.) The number
shouldn't be more memory than the machine has (including swap memory). You
should also keep in mind that swap memory is generally much, much slower
than RAM, and setting memlimit to all available RAM or higher will heavily
tax the machine. On the other hand, it is no use running these tests with a
limit of less than 2.5Gb, and many require more than 20Gb. Tests that expect
to use more than memlimit memory will be skipped. The big-memory tests
generally run very, very long.

-u is used to specify which special resource intensive tests to run,
such as those requiring large file support or network connectivity.
The argument is a comma-separated list of words indicating the
resources to test.  Currently only the following are defined:

    all -       Enable all special resources.

    audio -     Tests that use the audio device.  (There are known
                cases of broken audio drivers that can crash Python or
                even the Linux kernel.)

    curses -    Tests that use curses and will modify the terminal's
                state and output modes.

    largefile - It is okay to run some test that may create huge
                files.  These tests can take a long time and may
                consume >2GB of disk space temporarily.

    network -   It is okay to run tests that use external network
                resource, e.g. testing SSL support for sockets.

    bsddb -     It is okay to run the bsddb testsuite, which takes
                a long time to complete.

    decimal -   Test the decimal module against a large suite that
                verifies compliance with standards.

    cpu -       Used for certain CPU-heavy tests.

    subprocess  Run all tests for the subprocess module.

    urlfetch -  It is okay to download files required on testing.

    gui -       Run tests that require a running GUI.

    xpickle -   Test pickle and cPickle against Python 2.4, 2.5 and 2.6 to
                test backwards compatibility. These tests take a long time
                to run.

To enable all resources except one, use '-uall,-<resource>'.  For
example, to run all the tests except for the bsddb tests, give the
option '-uall,-bsddb'.

--matchfile filters tests using a text file, one pattern per line.
Pattern examples:

- test method: test_stat_attributes
- test class: FileTests
- test identifier: test_os.FileTests.test_stat_attributes
i����Nt__path__t__file__tdarwiniitwin32iii����i����i����i����i����g>@(tsupporttaudiotcursest	largefiletnetworktbsddbtdecimaltcput
subprocessturlfetchtguitxpickletextralargefiletcCs$tGH|r|GHntj|�dS(N(t__doc__tsystexit(tcodetmsg((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytusagescCs�ttj|d��}t|d�\}}t|d�\}}t|d�\}}g}|rx|jd|�n|r�|jd|�n|r�|jd|�n|r�|jd|�n|s�dS|d	 }d
j|�S(Ng@�@i�i<s%s hours%s mins%s secs%s mss0 msit (tinttmathtceiltdivmodtappendtjoin(tsecondstmstminutesthourstparts((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytformat_durations"
s	%s passeds	%s faileds%s failed (env changed)s
%s skippeds%s skipped (resource denied)s%s interrupteds
%s crasheds%s run no testscCstj|d�}||S(Ns%s(t_FORMAT_TEST_RESULTtget(t	test_nametresulttfmt((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytformat_test_result4scCs]ytjd�SWnttfk
r*nXyddl}Wntk
rNnX|j�SdS(NtSC_NPROCESSORS_ONLNi����(tostsysconftAttributeErrort
ValueErrortmultiprocessingtImportErrort	cpu_counttNone(R0((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR29s

cCsIxBtjj�D]1}||kr|jd�rtj|�qqWdS(Nstest.(Rtmodulestkeyst
startswithRtunload(tsave_modulestmodule((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytunload_test_modulesKstcoveragec[&s�tj��tjtj�y�tjtjddddddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%g#�\}}Wn#tjk
r�}td&|�nX|dDkr�t
jd'�}n� dDkrg� ndD}t}t}t�t}xD|D]<\}} |d�krNtd*�q)|d�krg�!d7�!q)|d�kr|t
}q)|d�kr�t
}q)|d�kr�t
�q)|d�kr�t
�d*�!q)|d�kr�t
}q)|d�kr�t
}q)|d�krt
�q)|d�krt
}q)|d>kr0t| �}q)|d�krE| }q)|d�krv�dDkrfg�n�j| �q)|dCkr��dDkr�g�ntjjtj| �}!t|!��+}"x!|"D]}#�j|#j��q�WWdDQXq)|d�krt
}q)|d�krt
}q)|d�krCdKdDl}$|$jt| ��q)|d�krXt
}
q)|d�kr�tjjtj�| �}q)|d�kr�dD}q)|d�krc| jdT��t��d�kr�| G�GHtd&dV�n�d*s�dW�d*<nt�d*��d*<�dsdX�d<nt�d��d<t��d&ksP�d&redYg�d&)qeq)|d�krtj| �q)|d�krjg| jd^�D]}%|%j�^q�}&x�|&D]�}'|'d_kr�t� (q�nt}(|'d*d`krt
}(|'d}'n|'tkr"tdda| �n|(rG|'� krc� j|'�qcq�|'� kr�� j|'�q�q�Wq)|d�krt
}q)|d�kr�t| �}q)|dfkr�t
}q)|dgkr�| }q)|d�kr�t
�q)|djkr�| �q)|dkkrt
}q)|dlkrt
}q)|dmkr-t
�q)|dnkrBt
}q)tj doj!|�IJtj"d�q)W|r�|r�td&dp�n|r�|
r�td&dq�n|r�|r�td&dr�n�r��!p�|r�tds�n�rtjj#���tjj$d*��ntjj#tjj%t&��})x<dt|)fD].}*ytjj|*�Wq6t'k
rcq6Xq6W�r��\}+},}-|+dks�|,dkr�du}tj |IJtj"d&�q�n|rfdKdDl(}.tj)tj�tjjt*dv�}*dwt*GHxX|.j(|*�D]G}/tjj+|/�r<dx|/GHtj,|/�qdy|/GHtj-|/�qWtj"d*�n|dDk	r�t.j/|�\}}0�r��|0dz<nyt0||0�}1Wn%t1k
r�}2t2|2j3j4f}1nXHt.j5|1�GHtj"d*�ng�g�g�g�g�g�g�dD�	t�
|rh	ydKdDl}$Wnt6k
r^	d{GHt}qh	Xg}3n|r�	tjjt*d|�}!y8t|!d}�}"|"j7�j�}4|4g�|"j8�Wq�	t9k
r�	q�	Xn|rP
g�ttjjtj|��}"xD|"D]<}#|#j�}5|5r
|5d*j:d~�r
�j;|5�q
q
W|"j8�nt<|�t<��t=}6t>j?�}7|r�
x7|D]/}8|8|6kr�
|6j|8�n|7j@|8�q�
Wg}n�r�
dGH|7j@d��n�!s|s�p�
|p�
�p�
|o�}9tA�|6|7�}:�p(|p(|:�|rw�d �y|:|:jB�d*�d};WqwtCk
rsdD};qwXn|r�x�D]}/|/GHq�Wtj"d*�n|r�tD����tj"d*�n|
r�dKdDlE}
|
jFdtd�t
�}<ng�� t_GtHtjI�}=�������fd���|rqtJ�����fd��}>|>��dt�dU�n1tK���d�j!t����t��d�������fd��}?|9r8
d�GtLjM�Gd�jtjNj��GHd�GtLjLd�t
�Gd�tjOGHd�Gtj�GHtP�}@|@r8
d�G|@GHq8
n�rd
�\}+},}-|+dUkrd
d�GHqd
n|r�
t
jQ|�d�G|GHt
jR��n|rydKd�lSmT}AWn#t6k
r�
d�GHtj"d&�nXdKd�lUmU}BmV}CdKd�lWmX�mY�tZj[d���|B��������� �!fd��}D|D��tj\�}Etj]g|EdAd�g��r}�dig�nd�|Af�������fd���Y}Fgt^|�D]}G|F�^q�}Hd�t|H�GHx|HD]}I|Ij_�q�Wd��}Jd*}Kd}Lt`tatb�}My�x�|K|kr�y�jcd�|M�}NWnO|Ck
r�|J|H�}O|Or!�r!d�d�j|O�GHtjjd�q!q!nX|N\�}P}Q}1�dDkr�|Kd7}Kq!n��|1��sp|1\}R}Ste�|R�}T|Rtft2fkr-|Stbkr-�r-|Td�tg|S�7}Tn|J|H�}O|Or`�r`|Td�d�j|O�7}Tn|?|L|T�n|Pr~|PGHntjjd�|Qr��r�tj |QIJntj jd�|1d*t2kr�th�n|Ld7}Lq!WWn!thk
rt
�
�j8�nXx|HD]}I|Ij�qWnd�GHdD}Ux�ti�d�D]�\}L��s{�}T|Urkd�|T|Uf}Tn|?|L|T�n���������!f	d��}Vtj�}W|
r�tjtk��}X|<jld�d�tm�d�|X�|Xd�}1n{yW|V�}1|rB|1d*tnkrB�s d��GHnt0�t
��dD�dz��nWn!thk
r]t
�
Pn
�nXtj�|W}Ste�|1d*�}U|Stbkr�d�|Utg|S�f}Un|1d*tokr�dD}Un|r|$jp�|$jqrd�Gt|$jq�Gd�GH|3j;|$jq�|$jq2qntr|=�q:W����	��
�fd���
���
��
���������fd��}Y|Y�|rt�rt�
��	Hd�GH��x��D]��d��GHtjjd�y4t
t_st0�t
��dD�d��dz��}RWnthk
rHPq�X|Rd*totttutvhkr��j��q�q�W�rjtwt��d��Gd�GHtx��n|Y�n|r�|;r�t|!d���}"|"jy|;d��WdDQXq�tj-|!�n|
r�|<jz�}'|'j{d�t
d�t
d�|�n|r
tj|d�tj}��nHtj��}Zd�tg|Z�GHd��
�GH�rOtj"d&�n�
retj"d��n�r��r�tj"dU�ntj"d*�dDS(�slExecute 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, findleaks, 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.
    is hvqxsSrf:lu:t:TD:NLR:FwWM:j:PGm:thelptverbosetverbose2tverbose3tquiettexcludetsingletslowtslowestt	randomizes	fromfile=t	findleakssuse=s
threshold=ttraces	coverdir=t
nocoverdirtrunleaksshuntrleaks=s	memlimit=s	randseed=s
multiprocess=s
slaveargs=tforevertheadertpgotfailfastsmatch=stestdir=s
list-testss
list-casesR;s
matchfile=sfail-env-changedtcleanupii���s-hs--helpis-vs	--verboses-ws
--verbose2s-Ws
--verbose3s-Gs
--failfasts-qs--quiets-xs	--excludes-ss--singles-Ss--slows	--slowests-rs--randomizes
--randseeds-fs
--fromfiles-ms--matchs--matchfileNs-ls--findleakss-Ls
--runleakss-ts--thresholdi����s-Ts
--coverages-Ds
--coverdirs-Ns--nocoverdirs-Rs--huntrleakst:is)-R takes 2 or 3 colon-separated argumentsiis
reflog.txts-Ms
--memlimits-us--uset,tallt-sInvalid -u/--use option: s-Fs	--forevers-js--multiprocesss--headers--slaveargss-Ps--pgos	--testdirs--list-testss--list-casess--fail-env-changeds	--cleanupsQNo handler for option {}.  Please report this as a bug at http://bugs.python.org.s-s and -f don't go together!s-T and -j don't go together!s-l and -j don't go together!s#-G/--failfast needs either -v or -WRswInvalid values for the --huntrleaks/-R parameters. The number of warmups and repetitions must be at least 1 each (1:1).s
test_python_*sCleanup %s directorysRemove directory: %ssRemove file: %sttestdirs%No GC available, disabling findleaks.t
pynexttesttrt#sEWarning: bpo-31731: test_io hangs with --huntrleaks: exclude the testttest_iotcountcs|\}}|ttfkr4�j||f�n|tkrP�j|�n�|ttfkrr�j|�n�|tkr��j|�n�|tkr��j|�nd|tkr��j|��j|�n;|tkr��j|�n|tkrt	d|��ndS(Nsinvalid test result: %r(
tCHILD_ERRORtINTERRUPTEDRtPASSEDtFAILEDtENV_CHANGEDtSKIPPEDtRESOURCE_DENIEDtTEST_DID_NOT_RUNR/(ttestR(tokt	test_time(tbadtenvironment_changedtgoodtresource_deniedstrun_no_teststskippedt
test_times(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytaccumulate_result�s$
c3sAx:tr<x-|D]%}|V�r%dS�r�rdSqWqWdS(N(tTrue(ttestsRa(RdRetfail_env_changed(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyttest_forever�s	
s/{}cs�dj�|��}t��t��}|rM�rMdj||�}ndj|�}ttd�r�tj�d}dj||�}ntj��}tjdt|��}d||f}d	j||�}|GHt	j
j�dS(
Ns
{1:{0}}{2}s{}/{}s[{}]t
getloadavgisload avg: {:.2f} {}Rs%s %ss{} {}(tformattlenthasattrR,Rpttimetdatetimet	timedeltaRRtstdouttflush(t
test_indexRatlinetfailst
load_avg_1minRc(RdReRLtregrtest_start_timet
test_countttest_count_width(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytdisplay_progress�s
s==Rs==  taliaseds	%s-endians
== CPU count:shWARNING: Running tests with --huntrleaks/-R and less than 3 warmup repetitions can give false positives!sUsing random seed(tThreads+Multiprocess option requires thread support(tQueuetEmpty(tPopentPIPEs
\[\d+ refs\]$c
3sVxO�D]G}|��ftd�d�d�d�d��f}||fVqWdS(Nt
huntrleakst
use_resourcesRMtmatch_testsRL(tdict(Rat
args_tuple(RMR�R�RLR@RmR�R=(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyttests_and_args�s
s
test.regrtesttMultiprocessThreadcsDeZdZdZ�������fd�Z�fd�ZRS(c
syt��\}}Wntk
r7�jd�tSX�dtj|�g}�rm|jd�f�nzgtj�|_	||_
�|d�d�dtdtjdk�}|j
�\}}|j�}Wdd|_
X�jd|�}|d	krF|j�jd
�\}}}	|	s4�jd
�tStj|	�}	ntd|f}	�j||j�|j�|	f�tS(Ns--slaveargss	--testdirRwtstderrtuniversal_newlinest	close_fdstntRis
sExit code %s(NNNN(NNNN(tnextt
StopIterationtputR3RltjsontdumpstextendRtt
start_timetcurrent_testR,tnametcommunicatetwaittsubtstript
rpartitiontloadsRYtrstriptFalse(
tselfRaR�targstpopenRwR�tretcodet_R((R�R�tbase_cmdtdebug_output_pattoutputtpendingRS(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytruntest�s8

		

%csKy#t}x|s!|j�}qWWn!tk
rF�jd��nXdS(N(NNNN(R�R�t
BaseExceptionR�R3(R�tstop(R�(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrun$s	

N(t__name__t
__module__R3R�R�R�R�((R�R�R�R�R�R�RS(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR��s!(s.Run tests in parallel using %s child processescSsog}xb|D]Z}|j}|s(q
ntj�|j}|tkr
|jd|t|�f�q
q
W|S(Ns%s (%s)(R�RtR�tPROGRESS_MIN_TIMERR$(tworkerstrunningtworkerR�tdt((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_running3s
	$ttimeoutsrunning: %ss, s (%s)s -- running: %ssRun tests sequentiallys%s -- %sc
s>t����d�d�d�d��}��|�|S(NRMR�RS(R�R3(R((	RkRMR�R�RLR@RaRSR=(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt
local_runtestys	
sresult = local_runtest()tglobalstlocalsR(s"Re-running test %r in verbose modes%s in %ssWarning: test createdsuncollectable object(s).cs�g}�r|jd�nG�r8�r8|jd�n+t�����f�sc|jd�n�ry|jd�n|s�|jd�ndj|�}�r�d�|f}n|S(NtFAILUREsENV CHANGEDsNO TEST RUNRZtSUCCESSs, s
%s then %s(RtanyR(R((RdReRntfirst_resultRftinterruptedRi(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_tests_result�scs�Hd��GH�ro�roHdGHt��t��t��t��}tt|�d�GdGHt|�n�r��r��r�H�r��r��r�t��dkr�dGntt��d�GdGHn�r�
jdt�Hd	GHx*�
d
 D]\}}d||fGHq�Wn�rI�rIHtt��d�GdGHt��n�r��r�Hd
jtt��d��GHt��n�rN�rN�rNHtt��d�GdGHt��t�}tj	}|j
�r9t��|j�t�	�}|r)tt|�d�GdG|dGHt|�qKdG|dGHqNdGHdG|dGHn�r~dGHdtt��d�GHt��n�
r�dGHdtt�
�d�GHt�
�ndS(Ns== Tests result: %s ==s(Test suite interrupted by signal SIGINT.Rasomitted:itAllsOK.treverses10 slowest tests:i
s- %s: %.1fssfailed:s%{} altered the execution environment:sskipped:tskips
unexpected onROsThose skips are all expected ont.s6Ask someone to teach regrtest.py about which tests aresexpected to get skipped onRs%s:sre-run tests%s run no tests:(tsetRXRrt	printlisttsortRlRqt_ExpectedSkipsRtplatformtisvalidtgetexpected(tomittedRcRatetplattsurprise(RdReR�RfR�RLt
print_slowR@trerunRgRhtselectedRiRj(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytdisplay_result�sf
*
'




		 


s'Re-running failed tests in verbose modeR�Ras
failed again:tws
tshow_missingtsummarytcoverdirsleaks %dsTotal duration: %ssTests result: %si�(s-hs--help(s-vs	--verbose(s-ws
--verbose2(s-Ws
--verbose3(s-Gs
--failfast(s-qs--quiet(s-xs	--exclude(s-ss--single(s-Ss--slows	--slowest(s-rs--randomize(s-fs
--fromfile(s-ms--match(s-ls--findleaks(s-Ls
--runleaks(s-ts--threshold(s-Ts
--coverage(s-Ds
--coverdir(s-Ns--nocoverdir(s-Rs--huntrleaks(ii(s-Ms
--memlimit(s-us--use(s-Fs	--forever(s-js--multiprocess(s-Ps--pgo(~RtRtrecord_original_stdoutRRwtgetopttargvterrorRR3trandomt	randrangeR�RlRRR,tpathRtSAVEDCWDtopenR�tgct
set_thresholdtgetcwdtsplitRrtset_memlimittlowert
ALL_RESOURCEStRESOURCE_NAMEStremoveR�RqRtabspathtinserttdirnameRR/tglobtchdirtTEMPDIRtisdirtrmtreetunlinkR�R�R�R�RZt	__class__R�R�R1treadtclosetIOErrorR6R�tremovepytSTDTESTStNOTTESTStcopytaddt	findteststindext
IndexErrort
list_casesRGtTraceR�R�R4tlisttiterR�tpython_implementationtversiont	byteorderR2tseedtshufflet	threadingR�R�R�RR�R�tretcompiletargs_from_interpreter_flagst
executabletrangetstarttmaxtPROGRESS_UPDATER�R&RxR*RYR$tKeyboardInterruptt	enumerateR�R�trunctxR�R\R[tcollecttgarbageR:R=R]R^R_RXR�twritetresultst
write_resultstsystemtgetpid([RmRSR=R@RARBREtfromfileRFR�RGR�RIR�R>R�trandom_seedtuse_mpR?RJRKRLRMR�toptsR�Rt	slaveargst
list_teststlist_cases_optt
cleanup_teststotatfilenametfpRzR�txtuRUR�tregrtest_dirR�twarmuptrepetitionsR�R�R�tkwargsR(R�t
found_garbaget	next_testtgutststdteststnotteststargtdisplay_headertallteststnext_single_testttracerR8RoR�tncpuR�R�R�R�topt_argsR�tiR�R�R�tfinishedRytget_timeouttitemR�RwR�RbRcttextt
previous_testR�R�tnsR�tduration(("R�R�RkRdR�R�ReRnRMR�R�RfR�R�R�R�R�RLR�R@R}R�RgRhR�RiRaR~RRjRSRmR�R=s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytmainRsL	

											
 					



(

									
	


			


		





	,



		!			
	
	$
	.5"
	







	

'
	
	
	
!6B	
	
	


ttest_grammarttest_opcodest	test_dictttest_builtinttest_exceptionst
test_typest
test_unittestttest_doctestt
test_doctest2ttest_supportttest_future1ttest_future2c	Cs�t|�}tj|�}g}t|�|B}x^|D]V}tjj|�\}}|d dkr8|dkr8||kr8|j|�q8q8W|t|�S(s-Return a list of all applicable test modules.ittest_s.py(tfindtestdirR,tlistdirR�R�tsplitextRtsorted(	RSR1R2tnamesRmtothersR�tmodnametext((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�Ps
(c		Cs{|t_|dk	r!|t_nzEtj|�tt_|rLtt_nt	||||||�SWdt
||�XdS(s�Run a single test.

    test -- the name of the test
    verbose -- if true, print more messages
    quiet -- if true, don't print 'skipped' messages (probably redundant)
    test_times -- a list of (time, test_name) pairs
    huntrleaks -- run multiple times to test for leaks; requires a debug
                  build; a triple corresponding to -R's three arguments
    pgo -- if true, do not print unnecessary info when running the test
           for Profile Guided Optimization build

    Returns one of the test result constants:
        CHILD_ERROR      Child process crashed
        INTERRUPTED      KeyboardInterrupt when run under -j
        RESOURCE_DENIED  test skipped because resource denied
        SKIPPED          test skipped for some other reason
        ENV_CHANGED      test failed because it changed the execution environment
        FAILED           test failed
        PASSED           test passed
        EMPTY_TEST_SUITE test ran no subtests.
    N(RR=R3R�tset_match_testsR�tenvironment_alteredRlRMt
runtest_innertcleanup_test_droppings(	RaR=R@R�R�RLRMR�RS((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�\s	
	tsaved_test_environmentc	Bs�eZdZeZdeed�Zd#Zd�Zd
�Zd�Z	d�Z
d�Zd�Zd�Z
d�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd �Zd!�Zd"�ZRS($s�Save bits of the test environment and restore them at block exit.

        with saved_test_environment(testname, verbose, quiet):
            #stuff

    Unless quiet is True, a warning is printed to stderr if any of
    the saved items was changed by the test.  The attribute 'changed'
    is initially False, but is set to True if a change is detected.

    If verbose is more than 1, the before and after state of changed
    items is also printed.
    icCs(||_||_||_||_dS(N(ttestnameR=R@RL(R�R]R=R@RL((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt__init__�s			ssys.argvtcwds	sys.stdins
sys.stdouts
sys.stderrs
os.environssys.pathsasyncore.socket_maptfilescCsttj�tjtjfS(N(tidRR�(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_sys_argv�scCs|dt_|dtj(dS(Nii(RR�(R�t
saved_argv((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_sys_argv�s
cCs
tj�S(N(R,R�(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_cwd�scCstj|�dS(N(R,R�(R�t	saved_cwd((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_cwd�scCstjS(N(RRw(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_sys_stdout�scCs
|t_dS(N(RRw(R�tsaved_stdout((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_sys_stdout�scCstjS(N(RR�(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_sys_stderr�scCs
|t_dS(N(RR�(R�tsaved_stderr((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_sys_stderr�scCstjS(N(Rtstdin(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt
get_sys_stdin�scCs
|t_dS(N(RRn(R�tsaved_stdin((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_sys_stdin�scCs"ttj�tjttj�fS(N(RaR,tenvironR�(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_os_environ�scCs2|dt_tjj�tjj|d�dS(Nii(R,Rrtcleartupdate(R�t
saved_environ((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_os_environ�s

cCsttj�tjtjfS(N(RaRR�(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_sys_path�scCs|dt_|dtj(dS(Nii(RR�(R�t
saved_path((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_sys_path�s
cCs+tjjd�}|r'|jj�p*iS(Ntasyncore(RR4R&t
socket_mapR�(R�R{((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_asyncore_socket_map�scCsEtjjd�}|dk	rA|jdt�|jj|�ndS(NR{t
ignore_all(RR4R&R3t	close_allRlR|Ru(R�t	saved_mapR{((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_asyncore_socket_map�scCsFtjjtj�rd}n$tjjtj�r<d}nd}|S(Ntftd(R,R�tisfileRtTESTFNR�R3(R�R(((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_support_TESTFN�s		cCsc|dkr_tjjtj�r4tjtj�q_tjjtj�r_tj	tj�q_ndS(N(
R3R,R�R�RR�R�R�tshutilR�(R�tsaved_value((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrestore_support_TESTFN�s
cCs td�tjtj�D��S(Ncss1|]'}|tjj|�r$dndVqdS(t/RN(R,R�R�(t.0tfn((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pys	<genexpr>�s(RSR,RQtcurdir(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt	get_files�s	cCsptj}||krl|d|krltjj|�rGtj|�qltjj|�rltj|�qlndS(NR�(RR�R,R�R�R�R�R�(R�R�R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt
restore_files�s	ccs^xW|jD]L}|jdd�}d|}d|}|t||�t||�fVq
WdS(NR�R�tget_trestore_(t	resourcestreplacetgetattr(R�R�t
method_suffixtget_nametrestore_name((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt
resource_info�s


cCs#td�|j�D��|_|S(Ncss'|]\}}}||�fVqdS(N((R�R�R&trestore((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pys	<genexpr>s(R�R�tsaved_values(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt	__enter__s	c
Cs�|j}|`|jtjO_x�|j�D]�\}}}|�}|j|�}	||	kr.t|_||	�|jr�|jr�t	j
dj||j�IJt	j
dj|	|�IJq�q.q.Wt
S(Ns Warning -- {} was modified by {}s  Before: {}
  After:  {} (R�tchangedRRYR�tpopRlR@RLRR�RqR]R�(
R�texc_typetexc_valtexc_tbR�R�R&R�tcurrenttoriginal((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt__exit__	s"			
(	ssys.argvR_s	sys.stdins
sys.stdouts
sys.stderrs
os.environssys.pathsasyncore.socket_mapR`(R�R�RR�R�R^R�RbRdReRgRhRjRkRmRoRqRsRwRxRzR}R�R�R�R�R�R�R�R�(((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR\�s:																						cCstj�dS(N(Rt
reap_children(((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytpost_test_cleanup%sc
Cs�tj|�|rd}ntj�}d}t}ytj}	z�|rU|t_nt||�}
t�t	||||���}t
j
�}t|
t�t
�g�}
|
jd�r�t|
|�}n|
}t|dd�}|rt|||||�}n|dk	r|�nt
j
�|}WdQXt�Wd|	t_XWn�tjk
r�}|r�|r�|GdG|GHtjj�nt|fStjk
r�}|r�|r�|GdG|GHtjj�nt|fStk
r��n�tjk
r;}|s$tjdI|IdI|IJntjj�t|fStjk
rUt|fStj�d \}}|s�tjdI|IdIt|�d	I|IJntjj�|r�|r�t j!d
tj�tjj�nt|fSX|r�t|fS|j"rt#|fS|s|r't$|fS|j%�}|sCt$|fSdG|GdGHdd
GH|GHdd
GHtjj�t|fSdS(Ngstest.t	test_mains
skipped --Ras	failed --is
crashed --ROtfilesproduced unexpected output:t*iF(&RR7R3tStringIOR�RRwtget_abs_moduletclear_cachesR\Rtt
__import__R�R�R6R�tdash_RR�tResourceDeniedRxR_tunittesttSkipTestR^Rt
TestFailedR�R\t
TestDidNotRunR`texc_infotstrt	tracebackt	print_excR�R]R[tgetvalue(RaR=R@R�RLRStcapture_stdoutRctrefleaktsave_stdouttabstesttenvironmentR�tthe_packaget
the_modulet
indirect_testRttypetvalueR�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyRZ(s�
		





"


2


	



		
cCsAddl}ddl}|j�xtjdfD]}tjj|�sPq2ntjj|�rudt	j
}}n5tjj|�r�dtj}}nt
d|��|r�d|||fGHnyAttd�r�tj||j|jB|jB�n||�Wq2tk
r8}tjd||||fIJq2Xq2WdS(	Ni����tdb_homet	directoryR�s8os.path says %r exists but is neither directory nor files%r left behind %s %rtchmods3%r left behind %s %r and it couldn't be removed: %s(tstatR�RRR�R,R�texistsR�R�R�R�R�tSystemErrorRsR�tS_IRWXUtS_IRWXGtS_IRWXOt	ExceptionRR�(R]R=R�R�R�tkindtnukerR((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR[{s,
	

$
c)s�ddl}ddl}ddl}ttd�sBtd��nt�tj}|j	j
�}	tjj
�}
yddl}Wnt
k
r�d}nX|jj
�}i}
||f}x�g|D]%}|jD]}t||�^q�q�D]L}t|d�s
q�nx.|j�|gD]}|jj
�|
|<qWq�Wd�tdd�D���fd	�}�r�fd
�}n�fd�}g}|\}}}tjjtj|�}||}dg|}dg|}tt|��}|s0tjd
I|IdIJtjd|dd| IJnt||	|
||
�d}}x�|D]�}|�|s}tjjd�nt||	|
||
�tj�} tj�}!|| |�||<||!|�||<| }|!}qWW|s�tjJnd�}"d�}#t }$x�|d|"f|d|#fgD]�\}}%}&||}|&|�r*d|||%t!|�f}'tj|'IJt"|d��}(|(|'IJ|(j#�WdQXt$}$q*q*W|$S(s�Run a test multiple times, looking for reference leaks.

    Returns:
        False if the test didn't leak references; True if we detected refleaks.
    i����Ntgettotalrefcounts9Tracking reference leaks requires a debug build of Pythont
_abc_registrycSsi|]}||�qS(((R�R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pys
<dictcomp>�s	i���i�cs�j||�S(N(t
setdefault(R�(tint_pool(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytget_pooled_int�scs��dS(N(((R�(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytrun_the_test�scstj��dS(N(timptreload((R�(s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR��sit	beginningR,t
1234567890i
iR�cSstd�|D��S(Ncss|]}|dkVqdS(iN((R�tdelta((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pys	<genexpr>s(RQ(tdeltas((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytcheck_rc_deltas�s
cSs
t|�S(N(R�(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytcheck_fd_deltas
st
referencessfile descriptorss%s leaked %s %s, sum=%sR%(%tcopy_regt_abcollt_pyioRsRR�twarm_cachestwarningstfilterstdispatch_tableR�tpath_importer_cachet	zipimportR1R3t_zip_directory_cachet__all__R�t__subclasses__R�RR,R�RRR�RR�tdash_R_cleanupRR�tfd_countR�tsumR�RxRl()R�RaR�R�R@R�R�R�tfstpstpicR�tzdctabcsR4tmodR%tabctobjR�R�R�tnwarmuptntrackedtfnametrepcountt	rc_deltast	fd_deltast	rep_ranget	rc_beforet	fd_beforeR:trc_aftertfd_afterR�R�tfailedt	item_nametcheckerRtrefrep((R�R�R�s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR��s�$


9


 



		



c
Cs�ddl}ddl}|tj(|jj�|jj|�tjj�tjj|�yddl	}Wnt
k
rnX|jj�|jj|�tj�xC|j
�D]5\}}	|	j�|_|jj�|jj�q�Wt�dS(Ni����(R�R�R�R�R�RtRuRR�R�R1R�t_clear_type_cachetitemsR�R�t
_abc_cachet_abc_negative_cacheR�(
R�R�R�R�R�R�R�R�R�tregistry((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�s$






cCs�ddl}x/tjj�D]}t|d�r|`qqWytjd}Wntk
rbnX|jj�t	j
�ytjd}Wntk
r�nX|jj�ytjd}Wntk
r�nX|j�ytjd}Wntk
r�nX|j
�ytjd}Wntk
r.nX|jd�ytjd}Wntk
r`nX|j�ytjd	}Wntk
r�nX|j�ytjd
}	Wntk
r�nX|	j�ytjd}
Wntk
r�nX|
jj�ytjd}Wntk
rnX|j�ytjd
}Wntk
rNn
Xd|_ytjd}
Wntk
r|nX|
j�tj�dS(Ni����t__warningregistry__sdistutils.dir_utilt	_strptimeturlparseturllibturllib2tdircachet	linecachet	mimetypestfilecmptstructtdoctesttctypes(R�RR4tvaluesRsRtKeyErrort
_path_createdRtR
tpurget_regex_cachetclear_cachet
urlcleanuptinstall_openerR3tresett
clearcachet_default_mime_typest_cachet_clearcachetmastert_reset_cacheRt
gc_collect(R�R�tdistutils_dir_utilR	R
RRR
RRRRRR((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�8s�






















	

cCsYxtd�D]}t|�q
Wxtd�D]}t|�q.Wttdd��dS(s}Create explicitly internal singletons which are created on demand
    to prevent false positive when hunting reference leaks.ii����iN(RtchrtunichrR(R:((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR��s
cCs|ptjjt�ptjS(N(R,R�R�RR�(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyRP�scCs\|s
dSxKt|�D]=\}}tjj|�\}}|dkr|||<qqWdS(Ns.py(RR,R�RR(RTtidxR�tbasenameRW((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR��scCs,|dkrd||fSd||fSdS(Nis%d %ss%d %ss((tntword((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyRX�siFic	CsVddlm}d|}||djd�t|�D��|d|d|�IJdS(s�Print the elements of iterable x to stdout.

    Optional arg width (default 70) is the maximum line length.
    Optional arg indent (default 4) is the number of blanks with which to
    begin each line.
    i����(tfillRcss|]}t|�VqdS(N(R�(R�telt((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pys	<genexpr>�stinitial_indenttsubsequent_indentN(ttextwrapR+RRS(R(twidthtindentR�R+tblanks((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR��s
)cCs%|jd�s|r|Sd|SdS(Nstest.(R6(RSRa((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR��scCsfx_|D]W}t|tj�r,t|�qt|tj�rtj|�r^|j�GHq^qqWdS(N(t
isinstanceR�t	TestSuitet_list_casestTestCaseRt
match_testRa(tsuiteRa((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR5�s

cCs�tt_tj|�ttj�}g}xk|D]c}t||�}y tj	j
|�}t|�Wn!tjk
r�|j
|�nXt|�q2W|r�tjJtjtt|�d�IdIJt|dtj�ndS(NRasskipped:R�(R�RR=RXR�RR4R�R�tdefaultTestLoadertloadTestsFromNameR5R�RR:R�RXRrR�(RSR�R�R8RiRaR�R8((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�s 	

"sl
        test__locale
        test_bsddb185
        test_bsddb3
        test_commands
        test_crypt
        test_curses
        test_dbm
        test_dl
        test_fcntl
        test_fork1
        test_epoll
        test_gdbm
        test_grp
        test_ioctl
        test_largefile
        test_kqueue
        test_mhlib
        test_openpty
        test_ossaudiodev
        test_pipes
        test_poll
        test_posix
        test_pty
        test_pwd
        test_resource
        test_signal
        test_spwd
        test_threadsignals
        test_timing
        test_wait3
        test_wait4
        s�
        test_bsddb185
        test_curses
        test_dl
        test_largefile
        test_kqueue
        test_ossaudiodev
        tlinux2s�
        test_bsddb
        test_bsddb185
        test_dl
        test_epoll
        test_largefile
        test_kqueue
        test_minidom
        test_openpty
        test_pyexpat
        test_sax
        test_sundry
        t	unixware7t	openunix8s�
        test_asynchat
        test_bsddb
        test_bsddb185
        test_dl
        test_fork1
        test_epoll
        test_gettext
        test_largefile
        test_locale
        test_kqueue
        test_minidom
        test_openpty
        test_pyexpat
        test_queue
        test_sax
        test_sundry
        test_thread
        test_threaded_import
        test_threadedtempfile
        test_threading
        tsco_sv3se
        test_asynchat
        test_atexit
        test_bsddb
        test_bsddb185
        test_bsddb3
        test_commands
        test_crypt
        test_dbm
        test_dl
        test_fcntl
        test_fork1
        test_epoll
        test_gdbm
        test_grp
        test_largefile
        test_locale
        test_kqueue
        test_mmap
        test_openpty
        test_poll
        test_popen2
        test_pty
        test_pwd
        test_strop
        test_sundry
        test_thread
        test_threaded_import
        test_threadedtempfile
        test_threading
        test_timing
        triscoss
        test__locale
        test_bsddb
        test_bsddb3
        test_curses
        test_epoll
        test_gdb
        test_gdbm
        test_largefile
        test_locale
        test_kqueue
        test_minidom
        test_ossaudiodev
        test_poll
        s�
        test_bsddb
        test_bsddb185
        test_curses
        test_dbm
        test_epoll
        test_kqueue
        test_gdbm
        test_gzip
        test_openpty
        test_zipfile
        test_zlib
        tsunos5sC
        test_bsddb
        test_bsddb185
        test_curses
        test_dl
        test_epoll
        test_gdbm
        test_gzip
        test_largefile
        test_locale
        test_kqueue
        test_minidom
        test_openpty
        test_pyexpat
        test_sax
        test_zipfile
        test_zlib
        shp-ux11s
        test_bsddb185
        test_curses
        test_dl
        test_gdbm
        test_epoll
        test_largefile
        test_locale
        test_kqueue
        test_mhlib
        test_mmap
        test_poll
        test_popen2
        test_resource
        tatheoss�
        test_bsddb185
        test_bsddb3
        test_curses
        test_dbm
        test_epoll
        test_ioctl
        test_kqueue
        test_largefile
        test_locale
        test_ossaudiodev
        test_socketserver
        tcygwinsN
        test_audioop
        test_bsddb185
        test_bsddb3
        test_commands
        test_curses
        test_dl
        test_epoll
        test_kqueue
        test_largefile
        test_mhlib
        test_mmap
        test_openpty
        test_ossaudiodev
        test_pty
        test_resource
        test_signal
        tos2emxs^
        test_bsddb
        test_bsddb3
        test_epoll
        test_gdbm
        test_locale
        test_ossaudiodev
        test_pep277
        test_pty
        test_socketserver
        test_tcl
        test_tk
        test_ttk_guionly
        test_ttk_textonly
        test_timeout
        test_urllibnet
        test_multiprocessing
        tfreebsd4sH
        test_bsddb
        test_bsddb185
        test_bsddb3
        test_bz2
        test_dl
        test_epoll
        test_gdbm
        test_gzip
        test_kqueue
        test_ossaudiodev
        test_tcl
        test_tk
        test_ttk_guionly
        test_ttk_textonly
        test_zipimport
        test_zlib
        taix5sa
        test_ascii_formatd
        test_bsddb
        test_bsddb3
        test_ctypes
        test_dl
        test_epoll
        test_gdbm
        test_locale
        test_normalization
        test_ossaudiodev
        test_pep277
        test_tcl
        test_tk
        test_ttk_guionly
        test_ttk_textonly
        test_multiprocessing
        topenbsd3sp
        test_ascii_formatd
        test_bsddb
        test_bsddb185
        test_bsddb3
        test_ctypes
        test_curses
        test_dl
        test_epoll
        test_gdbm
        test_locale
        test_ossaudiodev
        test_pep277
        test_tcl
        test_tk
        test_ttk_guionly
        test_ttk_textonly
        test_multiprocessing
        tnetbsd3tfreebsd5tfreebsd6tfreebsd7tfreebsd8R�cBs#eZd�Zd�Zd�ZRS(cCs0ddl}ddlm}t|_tjtkr,ttj}t|j	��|_
|j
jd�|jj
s�|j
jd�n|jr�|j
jd�ntjdkr�|j
jd�ntjdkrd	d
ddd
dg}xO|D]}|j
j|�q�Wn.tdjd��dkr<|j
jd
�ntjdkr�ddddddg}x!|D]}|j
j|�qjWntjdkr�ddddddg}x!|D]}|j
j|�q�Wntjdkr|j
jd �|j
jd!�ntjs |j
jd"�nt|_ndS(#Ni����(ttest_timeoutttest_linuxaudiodevttest_pep277RLl����ttest_imageopRt
test_macosttest_macostoolsttest_aepackt
test_plistlibttest_scriptpackagesttest_applesingleusunicode-internaliRttest_unicode_filettest_winregt
test_winsoundttest_startfilettest_sqlitettest_msilibtirixttest_alttest_cdttest_clttest_glttest_imgfileR@ttest_sunaudiodevttest_nist
test_py3kwarn(tos.pathRaRLR�tvalidRR�t
_expectationsR�R�texpectedR�R�tsupports_unicode_filenamest
skip_expectedtmaxintRrtencodetpy3kwarningRl(R�R,RLtstMAC_ONLYR�tWIN_ONLYt	IRIX_ONLY((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR^.sL	
			


	cCs|jS(s@Return true iff _ExpectedSkips knows about the current platform.(Rf(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�escCs|jS(snReturn set of test names we expect to skip on current platform.

        self.isvalid() must be true.
        (Rh(R�((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�is(R�R�R^R�R�(((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyR�-s	7	cCs�tj�ratjjtjd�d�atjjt�atjjt�satj	t�qandj
tj��}tjjt|�}tj
|dt��t�WdQXdS(s,Run main() in a temporary working directory.tsrcdirtbuildstest_python_{}R@N(t	sysconfigtis_python_buildR,R�Rtget_config_varR�R�R�tmkdirRqRRttemp_cwdRlRB(tTESTCWD((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pytmain_in_temp_cwdrst__main__(WRR�RuR�R�R�RR,R�R�R
R�RRtttempfileRtR�R�R�R4t
itervaluesR9RsRR�R�RtresourceR1t	getrlimittRLIMIT_STACKtsoftthardtminRtnewsoftt	setrlimittFixTkR�R[R\R]R^R_RZRYR`R�RRaRR�R�t
gettempdirR�RR$R%R*R2R:R3R�RBR�R�R�R�R\R�RZR[R�R�R�R�RPR�RXR�R�R5RRgR�RzR�(((s4/usr/local/python-2.7/lib/python2.7/test/regrtest.pyt<module>�s
.	

	
	
			���		
	/�	S	'	z		c						#"	!
E	
© 2025 GrazzMean