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.220.181.201
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : regrtest.cpython-32.pyc
l
��bc0@s�dZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlmZyddlZWnek
reZYnXyddlZWnek
rCeZYnXxiejj�D]XZeed�r�d�ejD�e_need�r�ejj ej!�e_!nqTWejdkr4yddl"Z"Wnek
r�YnNXe"j#e"j$�\Z%Z&e'e&e(e%dd	��Z)e"j*e"j$e)e&f�nd
Z+dZ,d
Z-dZ.dZ/d
Z0ddl1m2Z2dddddddddf	Z3ejj ej4��Z5d�Z6eede7e7e7e7ee7ee7de7e7e7e7eee7e7e7e7ed�Z8dddddd d!d"d#g	Z9d$d%hZ:ee9e:d&�Z;Gd'�d(e<�Z=d)�Z>e7e7ee7e7ed*�Z?ee?_@Gd+�d,�ZAe7e7eBd-�ZCd.�ZDd/�ZEd0�ZFd1�ZGed2�ZHd3�ZId4�ZJd5d
d6�ZKid7d86d9d:6d;d<6d;d=6d>d?6d@d6dAdB6dCdD6dEdF6dGdH6dIdJ6dKdL6dMdN6dOdP6ZLeLdJeLdQ<eLdJeLdR<eLdJeLdS<eLdJeLdT<GdU�dV�ZMdW�ZNeOdXkr�ejj ejjPejjQejRd���ZSeTej�ZUxReUdkrGeUd
8ZUejj ejjPejeU��eSkrDejeU=nq�Wejj e!�Z!e!ejj ejRd�kstV�eNe5�\Z5ZWe2jXeWdYeB��e8�WdQXndS(Zu�
Usage:

python -m test [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 -Wd -m test [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   -- display test output on failure
-d/--debug      -- print traceback for failed tests
-q/--quiet      -- no output unless one or more tests fail
-o/--slow       -- 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
-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)
-n/--nowindows  -- suppress error message boxes on Windows
-F/--forever    -- run the specified tests in a loop, until an error happens


Additional Option Details:

-r randomizes test execution order. You can use --randseed=int to provide a
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.

-S is used to continue running tests after an aborted run.  It will
maintain the order a standard run (ie, this assumes -r is not used).
This is useful after the tests have prematurely stopped for some external
reason and you want to start running from where you left off rather
than starting from the beginning.

-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.

    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.

To enable all resources except one, use '-uall,-<resource>'.  For
example, to run all the tests except for the gui tests, give the
option '-uall,-gui'.
iN(u
isabstractu__path__cCs"g|]}tjj|��qS((uosupathuabspath(u.0upath((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
<listcomp>�s	u__file__udarwiniiiiii(usupportuaudioucursesu	largefileunetworkudecimalucpuu
subprocessuurlfetchuguicCs7t|dtj�tddtj�tjd�dS(NufileuUse --help for usagei(uprintusysustderruexit(umsg((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuusage�sucoveragecK^s�t�tjtj�y�tjtjdd�ddddddd	d
ddd
ddddddddddddddddddd g�\}}Wn2tjk
r�}zt|�WYdd}~XnX|dkr�t
jd!�}n�dkrg�nd��d}x�|D]�\}}|d�kr;t
t�dS|d�krT�d7�q|d�krid�}q|d�kr~d��q|d�kr�d��q|d�kr�d��q|d�kr�d��d0�q|d�kr�d�}q|d�kr�|}q|d�krd�}q|d�krd�}q|d�kr,d�}q|d;krGt|�}q|d�kr\|}q|d�krq|�q|d�kr�d�}q|d�kr�d�}q|d�kr�d0dl}|jt|��q|d�kr�d�}
q|d�krtjjtj�|�}q|d�krd}q|d�kr�|jdN��
t�
�d�krdt
|�
�tdQ�n�
d0s{dR�
d0<nt�
d0��
d0<�
ds�dS�
d<nt�
d��
d<t�
�dOks��
dOr�dTg�
dOd�<nt�q|d�krtj|�q|d�kr�dY�|jdZ�D�}x||D]�}|d[krgt�dd�<q?nd�} |d0d\kr�d�} |dd�}n|tkr�td]|�n| r�|�kr��j|�q�q?|�kr?�j|�q?q?Wq|d�kr�d0dl}!|!j|!j |!j!B|!j"B|!j#B�y|!j$Wnt%k
rWYq�Xx\|!j&|!j'|!j(gD],}"|!j$|"|!j)�|!j*|"|!j+�qqWq|d�kr�d�}q|d�kr�t|�}q|ddkr�d�}q|dekr�t,j-|�\}}#yt.||#�}$Wn7t/k
rV}%zt0|%j1j2f}$WYdd}%~%XnXtjj3�t
�t
t,j4|$��tj5d0�qt
dfj6|�dgtj7�tj5d�qW|r�|r�tdh�n|r�|
r�tdi�n|r|rtdj�n|r"tj8r"tdk�n�rB�p1�rBtdl�ng�	g�g�g�g�d�}&|r�yd0dl}Wn"t9k
r�t
dm�d�}Yq�Xg}'n|rtjjt:dn�}(y8t;|(do�})|)j<�j=�}*|*g}|)j>�Wqt?k
rYqXn|r�g}t;tjjtj@|��})tAjBdp�}+xV|)D]N},|+jCdq|,�},|,j�}-|-rU|-d0jDdr�rU|jE|-�qUqUW|)j>�ntF|�tF|�tGdd�}.tHjI�}/|r-	x7|D]/}0|0|.kr	|.j|0�n|/jJ|0�q�Wg}n�sR	|sR	�pN	|pN	|pN	|r�	t
dstKjL�tjMj��t
dttKjKdud��dvtjN�t
dttj��t
dwtjO�ntP||.|/�}1|p�	|p�	|1}2|r1
|2dd�}2y|1|1jQ|2d0�d}3Wq1
tRk
r-
d}3Yq1
Xn|rw
y|2d|2jQ|��=Wqw
tSk
rs
t
dx|�Yqw
Xn|r�
t
jT|�t
dy|�t
jU|2�n|
r�
d0dlV}
d0dlW}4|
jXdztjYtjZ|4j[�gd{d�d|d��}5ng��t_\�t_]tj^j_�}6���	���fd}�}7|rvt`|2��fd~�}8|8�}dq}9dP}:n1ta|2�}dj6t|2��}9t|9�d}:|r5yd0d�lbmc�Wn)t9k
r�t
d��tj5dO�YnXd0d�ldme};d0d�lfmg�mh�tAjBd���|;��ti|��
tjj�}<tjkg|<d>d�g��������
���
����fd�����fd��tl|�D�}=x|=D]}>|>jm�q�Wd0}?d}@yx|?|kr�
�jn�\}A}B}C}$|Adkr
|?d7}?q�n|7|A|$��sl
�r>
d�nd�}Dt
|Dj6|:|@|9t��|A��n|Br
t
|B�n|Cr�
t
|Cdgtj7�ntjj3�tj7j3�|$d0t0kr�
|$dd�ks�
to�tp�n|@d7}@q�WWn!tpk
rd�}&d��
_qYnXx�|=D]}>|>j�qWn�x�tr|d�D]�\}@}A�s��rcd�nd�}Dt
|Dj6|:|@|9t��|A��tjj3�n|
r�|5jsd�d�tt�d�tu��nay;t.|A���
�d��d�d���}$|7|A|$�Wn#tpk
rd�}&PYn�YnX|r�|jv�|jwr�t
d�t|jw�d�d��t
d��|'jE|jw�|jwdd�=q�nxBtj^j_�D]1}E|E|6kr�|EjDd��r�tjx|E�q�q�WqEW|&r?t
�t
d��ty|2�ty�	�ty��ty��}Ft
tzt|F�d��d��t{|F�n�	r��r��r��r�|&r�t�	�dkr�t
d�d�d��nt
tzt�	�d��d��n|r��j|d�d��t
d��x5�dd��D] \}G}At
d�|A|Gf�q�Wn�rQt}ty��ty�����rQt
tzt��d��d��t{��qQn�r�t
d�j6tzt��d����t{��n�r_�r_t
tzt��d��d��t{��t~�}%tjK}H|%j�rAty��|%j��ty��}I|Ir-t
tzt|I�d��d�|HdN�t{|I�q\t
d�|Hd��q_t
d��t
d�|Hd��n|r��r�t
d��xu�D]j}At
d�|A�tjj3�y"d��t.|Ad���
��}JWq|tpk
r�t
�PYq|�Yq|Xq|Wn|r5|3r%t;|(d���})|)j�|3d��WdQXq5tj�|(�n|
rf|5j��}|j�d�d�d�d�d�|�n|r�tj�d�tj���ntj5t��d0kp�|&�dS(�ulExecute 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.
    iNu#hvqxsoS:rf:lu:t:TD:NLR:FdwWM:nj:Gm:uhelpuverboseuverbose2uverbose3uquietuexcludeusingleuslowu	randomizeu	fromfile=u	findleaksuuse=u
threshold=u	coverdir=u
nocoverdirurunleaksuhuntrleaks=u	memlimit=u	randseed=u
multiprocess=ucoverageu
slaveargs=uforeverudebugustart=u	nowindowsuheaderufailfastumatch=i���u-hu--helpu-vu	--verboseu-wu
--verbose2u-du--debugu-Wu
--verbose3u-Gu
--failfastu-qu--quietiu-xu	--excludeu-Su--startu-su--singleu-ou--slowu-ru--randomizeu
--randseedu-fu
--fromfileu-mu--matchu-lu--findleaksu-Lu
--runleaksu-tu--thresholdu-Tu
--coverageu-Du
--coverdiru-Nu--nocoverdiru-Ru--huntrleaksu:iiu)-R takes 2 or 3 colon-separated argumentsiiu
reflog.txtu-Mu
--memlimitu-uu--usecSsg|]}|j��qS((ulower(u.0ux((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
<listcomp>gs	u,uallu-uInvalid -u/--use option: u-nu--nowindowsu-Fu	--foreveru-ju--multiprocessu--headeru--slaveargsuQNo handler for option {}.  Please report this as a bug at http://bugs.python.org.ufileu-s and -f don't go together!u-T and -j don't go together!u-l and -j don't go together!u-M and -j don't go together!u#-G/--failfast needs either -v or -Wu%No GC available, disabling findleaks.u
pynexttesturu\[\s*\d+/\s*\d+\]uu#u==u==  ualiasedu	%s-endianuTesting with flags:u1Couldn't find starting test (%s), using all testsuUsing random seedu
ignoredirsutraceucountcs�|\}}�j||f�|tkr;�j|�n}|tkrW�j|�na|tkrs�j|�nE|tkr��j|�n)|tkr��j|��j|�ndS(N(uappenduPASSEDuFAILEDuENV_CHANGEDuSKIPPEDuRESOURCE_DENIED(utesturesultuoku	test_time(ubaduenvironment_changedugooduresource_deniedsuskippedu
test_times(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuaccumulate_results
c3s*x#x|D]}|V�r
dSq
WqdS(N((utestsutest(ubad(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyutest_forevers

u/{}(uThreadu+Multiprocess option requires thread support(uQueue(uPopenuPIPEu
\[\d+ refs\]$u
test.regrtestcs{yRxKyt�	�}Wn#tk
r;�jd�dSYnX|��
ftd�d�d�d�
d�d��f}��dtj|�gd�d	�d
ddtj	dkd
t
j�}|j�\}}�j
d|�}|j�jd�\}}}|s�jd�dStj|�}�j||j�|j�|f�qWn"tk
rv�jd��YnXdS(Nu
huntrleaksu
use_resourcesudebuguoutput_on_failureufailfastumatch_testsu--slaveargsustdoutustderruuniversal_newlinesu	close_fdsuntucwduu
(NNNNT(NNNN(NNNN(unextu
StopIterationuputuNoneudictujsonudumpsuTrueuosunameusupportuSAVEDCWDucommunicateusubustripu
rpartitionuloadsurstripu
BaseException(utestu
args_tupleupopenustdoutustderru_uresult(uPIPEuPopenubase_cmdudebugudebug_output_patufailfastu
huntrleaksumatch_testsuoutputupendinguquietu
use_resourcesuverboseuverbose3(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuwork,s6

	
,

csg|]}�d���qS(utarget((u.0ui(uThreaduwork(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
<listcomp>Qs	u[{1:{0}}{2}/{3}] {4}u[{1:{0}}{2}] {4}uKeyboardInterrupturuntest(test, verbose, quiet)uglobalsulocalsuoutput_on_failureumatch_testsuWarning: test createduendu uuncollectable object(s).utest.u(Test suite interrupted by signal SIGINT.utestuomitted:uAlluOK.ureverseu10 slowest tests:i
u	%s: %.1fsufailed:u%{} altered the execution environment:uskipped:uskipu
unexpected onuThose skips are all expected onu.u6Ask someone to teach regrtest.py about which tests areuexpected to get skipped onu'Re-running failed tests in verbose modeu"Re-running test %r in verbose modeuwu
ushow_missingusummaryucoverdiruleaks %dF(u-hu--help(u-vu	--verbose(u-wu
--verbose2T(u-du--debug(u-Wu
--verbose3(u-Gu
--failfast(u-qu--quiet(u-xu	--exclude(u-Su--start(u-su--single(u-ou--slow(u-ru--randomize(u-fu
--fromfile(u-mu--match(u-lu--findleaks(u-Lu
--runleaks(u-tu--threshold(u-Tu
--coverage(u-Du
--coverdir(u-Nu--nocoverdir(u-Ru--huntrleaks(ii(u-Mu
--memlimit(u-uu--use(u-nu--nowindows(u-Fu	--forever(u-ju--multiprocess(�ureplace_stdoutusupporturecord_original_stdoutusysustdoutugetoptuargvuerroruusageuNoneurandomu	randrangeuFalseuprintu__doc__uTrueuintugcu
set_thresholduosupathujoinugetcwdusplitulenuwarm_char_cacheuset_memlimituRESOURCE_NAMESuremoveuappendumsvcrtuSetErrorModeuSEM_FAILCRITICALERRORSuSEM_NOALIGNMENTFAULTEXCEPTuSEM_NOGPFAULTERRORBOXuSEM_NOOPENFILEERRORBOXuCrtSetReportModeuAttributeErroruCRT_WARNu	CRT_ERRORu
CRT_ASSERTuCRTDBG_MODE_FILEuCrtSetReportFileuCRTDBG_FILE_STDERRujsonuloadsuruntestu
BaseExceptionuINTERRUPTEDu	__class__u__name__uflushudumpsuexituformatustderru
max_memuseuImportErroruTEMPDIRuopenureadustripucloseuIOErroruSAVEDCWDureucompileusubu
startswithuextenduremovepyuSTDTESTSuNOTTESTSucopyuadduplatformupython_implementationuversionu	byteorderuflagsu	findtestsuindexu
IndexErroru
ValueErroruseedushuffleutraceutempfileuTraceuprefixuexec_prefixu
gettempdiruverboseu
use_resourcesumodulesukeysulistuiteru	threadinguThreaduqueueuQueueu
subprocessuPopenuPIPEuMultiprocessTestsuargs_from_interpreter_flagsu
executableurangeustartugetuAssertionErroruKeyboardInterruptuinterruptedu	enumerateurunctxuglobalsuvarsucollectugarbageuunloadusetucountu	printlistusortusortedu_ExpectedSkipsuisvalidugetexpecteduwriteuunlinkuresultsu
write_resultsusystemugetpid(Kutestsutestdiruverboseuquietuexcludeusingleu	randomizeufromfileu	findleaksu
use_resourcesutraceucoverdirurunleaksu
huntrleaksuverbose2u
print_slowurandom_seeduuse_mpuverbose3uforeveruheaderufailfastumatch_testsuoptsuargsumsgustartuouaugcuuururemoveumsvcrtumukwargsuresultueuinterruptedu
found_garbageufilenameufpu	next_testu	count_patulineugutsustdtestsunottestsuargualltestsuselectedunext_single_testutempfileutracerusave_modulesuaccumulate_resultutest_foreveru
test_countutest_count_widthuQueueuopt_argsuworkersuworkerufinishedu
test_indexutestustdoutustderrufmtumoduleuomittedutimeuplatusurpriseuok((uPIPEuPopenuThreadubadubase_cmdudebugudebug_output_patuenvironment_changedufailfastugoodu
huntrleaksumatch_testsuoutputupendinguquieturesource_deniedsuskippedu
test_timesu
use_resourcesuverboseuverbose3uworku4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyumain�s�"	

																








		%
	






		





	%



				

	6%


		


	

	

	

*

'
	


		 





utest_grammarutest_opcodesu	test_dictutest_builtinutest_exceptionsu
test_typesu
test_unittestutest_doctestu
test_doctest2utest_future1utest_future2c	Cs�t|�}tj|�}g}t|�|B}xd|D]\}tjj|�\}}|dd�dkr8|dkr8||kr8|j|�q8q8W|t|�S(u-Return a list of all applicable test modules.Niutest_u.py(ufindtestdiruosulistdirusetupathusplitextuappendusorted(	utestdirustdtestsunottestsunamesutestsuothersunameumodnameuext((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu	findtests�s
.cBs/|EeZdZd�Zd�Zd�ZdS(u8A thread-safe iterator over tests for multiprocess mode.cCs%d|_tj�|_||_dS(NF(uFalseuinterruptedu	threadinguLockulockutests(uselfutests((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu__init__s	cCs|S(N((uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu__iter__sc	Cs9|j�*|jr"td��nt|j�SWdQXdS(Nutests interrupted(ulockuinterruptedu
StopIterationunextutests(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu__next__s
	N(u__name__u
__module__u__doc__u__init__u__iter__u__next__(u
__locals__((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuMultiprocessTests�s
		uMultiprocessTestsc	sutjdkrdSddl}tj�t�j�dd�jdddd
�t_�fd	�}|j	|�dS(u�Set stdout encoder error handler to backslashreplace (as stderr error
    handler) to avoid UnicodeEncodeError when printing a tracebackuntNiuwuencodinguerrorsubackslashreplaceuclosefdcstjj��t_dS(N(usysustdoutuclose((ustdout(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_stdout s
F(
uosunameuatexitusysustdoutuopenufilenouencodinguFalseuregister(uatexiturestore_stdout((ustdoutu4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyureplace_stdouts		c	Csc|dk	r|t_nz6|t_|r6dt_n|r!dt_tjdkrlt	j
�}	|	t_n tj}	|	jd�|	j�t
j}
t
j}zj|	t
_|	t
_t|||||dd�}|dtkr|	j�}
|j|
�|j�nWd|
t
_|t
_Xn(|t_t|||||d|�}|SWdt||�XdS(u7Run 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
    output_on_failure -- if true, display test output on failure

    Returns one of the test result constants:
        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
    iudisplay_failureNTF(uNoneusupportu
use_resourcesumatch_testsuTrueufailfastuverboseuruntestustringiouiouStringIOuseekutruncateusysustdoutustderru
runtest_inneruFalseuFAILEDugetvalueuwriteuflushucleanup_test_droppings(utestuverboseuquietu
huntrleaksudebugu
use_resourcesuoutput_on_failureufailfastumatch_testsustreamuorig_stdoutuorig_stderruresultuoutput((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuruntest%s@			

				
	
	
cBs�|EeZdZd@Zdd@d�ZdAZd�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,�Zd-�Zd.�Zd/�Z d0�Z!d1�Z"d2�Z#d3�Z$d4�Z%d5�Z&d6�Z'd7�Z(d8�Z)d9�Z*d:�Z+d;�Z,d<�Z-d=�Z.d>�Z/d?S(Bu�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(utestnameuverboseuquiet(uselfutestnameuverboseuquiet((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu__init__~s		usys.argvucwdu	sys.stdinu
sys.stdoutu
sys.stderru
os.environusys.pathusys.path_hooksu
__import__uwarnings.filtersuasyncore.socket_mapulogging._handlersulogging._handlerListushutil.archive_formatsushutil.unpack_formatsusys.warnoptionsuthreading._danglingu!multiprocessing.process._danglingusupport.TESTFNcCs&ttj�tjtjdd�fS(N(uidusysuargv(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_sys_argv�scCs(|dt_|dtjdd�<dS(Nii(usysuargv(uselfu
saved_argv((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_sys_argv�s
cCs
tj�S(N(uosugetcwd(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_cwd�scCstj|�dS(N(uosuchdir(uselfu	saved_cwd((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_cwd�scCstjS(N(usysustdout(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_sys_stdout�scCs
|t_dS(N(usysustdout(uselfusaved_stdout((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_sys_stdout�scCstjS(N(usysustderr(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_sys_stderr�scCs
|t_dS(N(usysustderr(uselfusaved_stderr((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_sys_stderr�scCstjS(N(usysustdin(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
get_sys_stdin�scCs
|t_dS(N(usysustdin(uselfusaved_stdin((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_sys_stdin�scCs"ttj�tjttj�fS(N(uiduosuenvironudict(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_os_environ�scCs2|dt_tjj�tjj|d�dS(Nii(uosuenvironuclearuupdate(uselfu
saved_environ((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_os_environ�s

cCs&ttj�tjtjdd�fS(N(uidusysupath(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_sys_path�scCs(|dt_|dtjdd�<dS(Nii(usysupath(uselfu
saved_path((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_sys_path�s
cCs&ttj�tjtjdd�fS(N(uidusysu
path_hooks(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_sys_path_hooks�scCs(|dt_|dtjdd�<dS(Nii(usysu
path_hooks(uselfusaved_hooks((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_sys_path_hooks�s
cCstjS(N(ubuiltinsu
__import__(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget___import__�scCs
|t_dS(N(ubuiltinsu
__import__(uselfuimport_((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore___import__�scCs&ttj�tjtjdd�fS(N(uiduwarningsufilters(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_warnings_filters�scCs(|dt_|dtjdd�<dS(Nii(uwarningsufilters(uselfu
saved_filters((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_warnings_filters�s
cCs+tjjd�}|r'|jj�p*iS(Nuasyncore(usysumodulesugetu
socket_mapucopy(uselfuasyncore((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_asyncore_socket_map�scCsEtjjd�}|dk	rA|jdd�|jj|�ndS(Nuasyncoreu
ignore_allT(usysumodulesugetuNoneu	close_alluTrueu
socket_mapuupdate(uselfu	saved_mapuasyncore((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_asyncore_socket_map�scCstjtjj�fS(N(ushutilu_ARCHIVE_FORMATSucopy(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_shutil_archive_formats�scCs2|dt_tjj�tjj|d�dS(Nii(ushutilu_ARCHIVE_FORMATSuclearuupdate(uselfusaved((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_shutil_archive_formats�s

cCstjtjj�fS(N(ushutilu_UNPACK_FORMATSucopy(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_shutil_unpack_formats�scCs2|dt_tjj�tjj|d�dS(Nii(ushutilu_UNPACK_FORMATSuclearuupdate(uselfusaved((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_shutil_unpack_formats�s

cCs"ttj�tjtjj�fS(N(uiduloggingu	_handlersucopy(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_logging__handlers�scCsdS(N((uselfusaved_handlers((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_logging__handlers�scCs&ttj�tjtjdd�fS(N(uiduloggingu_handlerList(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_logging__handlerList�scCsdS(N((uselfusaved_handlerList((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_logging__handlerList�scCs&ttj�tjtjdd�fS(N(uidusysuwarnoptions(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_sys_warnoptions�scCs(|dt_|dtjdd�<dS(Nii(usysuwarnoptions(uselfu
saved_options((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_sys_warnoptions�s
cCsts
dStjj�S(N(u	threadinguNoneu	_danglingucopy(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_threading__danglingscCs+ts
dStjj�tjj|�dS(N(u	threadingu	_danglinguclearuupdate(uselfusaved((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_threading__danglings
cCsts
dStjjj�S(N(umultiprocessinguNoneuprocessu	_danglingucopy(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu%get_multiprocessing_process__danglingscCs1ts
dStjjj�tjjj|�dS(N(umultiprocessinguprocessu	_danglinguclearuupdate(uselfusaved((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu)restore_multiprocessing_process__danglingscCsFtjjtj�rd}n$tjjtj�r<d}nd}|S(Nufud(uosupathuisfileusupportuTESTFNuisdiruNone(uselfuresult((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuget_support_TESTFNs		cCsc|dkr_tjjtj�r4tjtj�q_tjjtj�r_tj	tj�q_ndS(N(
uNoneuosupathuisfileusupportuTESTFNuunlinkuisdirushutilurmtree(uselfusaved_value((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurestore_support_TESTFNs
ccs^xW|jD]L}|jdd�}d|}d|}|t||�t||�fVq
WdS(Nu.u_uget_urestore_(u	resourcesureplaceugetattr(uselfunameu
method_suffixuget_nameurestore_name((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
resource_info&s


cCs#td�|j�D��|_|S(Ncss'|]\}}}||�fVqdS(N((u.0unameugeturestore((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu	<genexpr>.s(udictu
resource_infousaved_values(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu	__enter__-s	c
Cs�|j}|`x�|j�D]�\}}}|�}|j|�}	||	krd|_||	�|js�tdj||j�dt	j
�|jdkr�tdj|	|�dt	j
�q�q�qqWdS(Nu Warning -- {} was modified by {}ufileiu  Before: {}
  After:  {} TF(
usaved_valuesu
resource_infoupopuTrueuchangeduquietuprintuformatutestnameusysustderruverboseuFalse(
uselfuexc_typeuexc_valuexc_tbusaved_valuesunameugeturestoreucurrentuoriginal((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu__exit__2s"			
		
	NF(usys.argvucwdu	sys.stdinu
sys.stdoutu
sys.stderru
os.environusys.pathusys.path_hooksu
__import__uwarnings.filtersuasyncore.socket_mapulogging._handlersulogging._handlerListushutil.archive_formatsushutil.unpack_formatsusys.warnoptionsuthreading._danglingu!multiprocessing.process._danglingusupport.TESTFN(0u__name__u
__module__u__doc__uFalseuchangedu__init__u	resourcesuget_sys_argvurestore_sys_argvuget_cwdurestore_cwduget_sys_stdouturestore_sys_stdoutuget_sys_stderrurestore_sys_stderru
get_sys_stdinurestore_sys_stdinuget_os_environurestore_os_environuget_sys_pathurestore_sys_pathuget_sys_path_hooksurestore_sys_path_hooksuget___import__urestore___import__uget_warnings_filtersurestore_warnings_filtersuget_asyncore_socket_mapurestore_asyncore_socket_mapuget_shutil_archive_formatsurestore_shutil_archive_formatsuget_shutil_unpack_formatsurestore_shutil_unpack_formatsuget_logging__handlersurestore_logging__handlersuget_logging__handlerListurestore_logging__handlerListuget_sys_warnoptionsurestore_sys_warnoptionsuget_threading__danglingurestore_threading__danglingu%get_multiprocessing_process__danglingu)restore_multiprocessing_process__danglinguget_support_TESTFNurestore_support_TESTFNu
resource_infou	__enter__u__exit__(u
__locals__((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyusaved_test_environmentnsh
																																								usaved_test_environmentcCs�tj|�d}d
}y�|jd�r4|}n
d|}t|||���}	tj�}
t|t�t�g�}t	||�}t	|dd�}
|
dk	r�|
�n|r�t|||
|�}ntj�|
}WdQXWn�tjk
r@}z5|s$t
|d|�tjj�nt|fSWYdd}~Xn[tjk
r�}z5|s{t
|d|�tjj�nt|fSWYdd}~Xntk
r��Yn�tjk
r'}zZ|r�t
d|d|dtj�nt
d|ddtj�tjj�t|fSWYdd}~Xnttj�}t
d|d	|dtj�tjj�t|fSYn.X|r~t|fS|	jr�t|fSt|fSdS(Ngutest.u	test_mainu
skipped --utestu	failed --ufileufailedu
crashed --F(usupportuunloaduFalseu
startswithusaved_test_environmentutimeu
__import__uglobalsulocalsugetattruNoneudash_RuResourceDenieduprintusysustdoutuflushuRESOURCE_DENIEDuunittestuSkipTestuSKIPPEDuKeyboardInterruptu
TestFailedustderruFAILEDu	tracebacku
format_excuchangeduENV_CHANGEDuPASSED(utestuverboseuquietu
huntrleaksudebugudisplay_failureu	test_timeurefleakuabstestuenvironmentu
start_timeuthe_packageu
the_moduleu
indirect_testumsg((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
runtest_innerGs\
	





	
c	Csjddl}ddl}ddl}|j�x5tjdfD]$}tjj|�s\q>ntjj	|�r�d|j
}}n5tjj|�r�dtj}}nt
d|��|r�td|||f�nyAttd�rtj||j|jB|jB�n||�Wq>tk
ra}z(td||||fdtj�WYdd}~Xq>Xq>WdS(	Niudb_homeu	directoryufileu8os.path says %r exists but is neither directory nor fileu%r left behind %s %ruchmodu3%r left behind %s %r and it couldn't be removed: %s(ushutilustatugcucollectusupportuTESTFNuosupathuexistsuisdirurmtreeuisfileuunlinkuSystemErroruprintuhasattruchmoduS_IRWXUuS_IRWXGuS_IRWXOu	Exceptionusysustderr(	utestnameuverboseushutilustatugcunameukindunukerumsg((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyucleanup_test_droppings�s.
	

$cs�ddl}ddl�ttd�s6td��ntjdd�}|jj�}tj	j�}yddl
}Wntk
r�d}	YnX|j
j�}	i}
xd�fd��jD�D]I}t|�s�q�nx.|j�|gD]}|jj�|
|<q�Wq�W�r&�fd�}
n�fd�}
g}|\}}}tjjtj|�}||}td|d	d
tj�td|dd
d|�d
tj�tjj�t||||	|
�x�t|�D]x}tj�}|
�tjjd�tjj�t||||	|
�tj�}||kr�|j||�q�q�Wtd
tj�t|�r�d||t |�f}t|d
tj�tjj�t!|d��!}t|d
|�|j�WdQXdSdS(u�Run a test multiple times, looking for reference leaks.

    Returns:
        False if the test didn't leak references; True if we detected refleaks.
    iNugettotalrefcountu9Tracking reference leaks requires a debug build of Pythoncsg|]}t�|��qS((ugetattr(u.0ua(u_abcoll(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
<listcomp>�s	cs��dS(N(((u
indirect_test(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurun_the_test�scs"tj�j=td�j�dS(Nuimport (usysumodulesu__name__uexec((u
the_module(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyurun_the_test�s
u	beginningurepetitionsufileu
1234567890i
iu.u%s leaked %s references, sum=%suaTF($ucopyregu_abcolluhasattrusysu	Exceptionuwarningsufiltersudispatch_tableucopyupath_importer_cacheu	zipimportuImportErroruNoneu_zip_directory_cacheu__all__u
isabstractu__subclasses__u
_abc_registryuosupathujoinusupportuSAVEDCWDuprintustderruflushudash_R_cleanupurangeugettotalrefcountuwriteuappenduanyusumuopenuTrueuFalse(u
the_moduleutestu
indirect_testu
huntrleaksucopyregufsupsupicu	zipimportuzdcuabcsuabcuobjurun_the_testudeltasunwarmupuntrackedufnameurepcountuiu	rc_beforeurc_afterumsgurefrep((u_abcollu
indirect_testu
the_moduleu4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyudash_R�s^
 
)


cs�ddl}ddl}ddl}ddl}ddl}	ddl}	ddl}
ddl}ddl}ddl	}
ddl
�ddlm}ddl
m}x/tjj�D]}t|d�r�|`q�q�W|tjdd�<|jj�|jj|�tjj�tjj|�yddl}Wntk
rGYnX|jj�|jj|�tj�x��fd��jD�D]n}t|�s�q�nxS|j �|gD]>}|j!||��j"�|_#|j$j�|j%j�q�Wq�Wx?tj&tj'tj(tj)fD]}|dk	r|j+�qqW|j�t,j-�|j.j�|	j/j0�|	j1j2�|j3�|
j4�|
j5j�|j6�d|_7yddl8}Wntk
r�YnX|j9�|j:�dS(Ni(u
_path_created(uWeakSetu__warningregistry__csg|]}t�|��qS((ugetattr(u.0ua(u_abcoll(u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu
<listcomp>s	(;ugcucopyregu	_strptimeu	linecacheuurllib.parseuurllib.requestu	mimetypesudoctestustructufilecmpu_abcolludistutils.dir_utilu
_path_createduweakrefuWeakSetusysumodulesuvaluesuhasattru__warningregistry__uwarningsufiltersudispatch_tableuclearuupdateupath_importer_cacheu	zipimportuImportErroru_zip_directory_cacheu_clear_type_cacheu__all__u
isabstractu__subclasses__ugetucopyu
_abc_registryu
_abc_cacheu_abc_negative_cacheustdoutustderru
__stdout__u
__stderr__uNoneuflushureupurgeu_regex_cacheuparseuclear_cacheurequestu
urlcleanupu
clearcacheu_default_mime_typesu_cacheu_clearcacheumasteructypesu_reset_cacheucollect(ufsupsupicuzdcuabcsugcucopyregu	_strptimeu	linecacheuurllibu	mimetypesudoctestustructufilecmpu
_path_createduWeakSetumodu	zipimportuabcuobjustreamuctypes((u_abcollu4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyudash_R_cleanup�s^0$





 
%








	

cCs?ttd��}x&td�D]}|||d�qWdS(Nii(ubytesurange(usui((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuwarm_char_cache/scCs|ptjjt�ptjS(N(uosupathudirnameu__file__ucurdir(upath((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyufindtestdir4scCs\|s
dSxKt|�D]=\}}tjj|�\}}|dkr|||<qqWdS(Nu.py(u	enumerateuosupathusplitext(unamesuidxunameubasenameuext((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuremovepy7scCs,|dkrd||fSd||fSdS(Niu%d %su%d %ss((unuword((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyucount?siFcCsVddlm}d|}t|djd�t|�D��|d|d|��dS(u�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(ufillu css|]}t|�VqdS(N(ustr(u.0uelt((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu	<genexpr>Psuinitial_indentusubsequent_indentN(utextwrapufilluprintujoinusorted(uxuwidthuindentufillublanks((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu	printlistEs
(u
        test__locale
        test_crypt
        test_curses
        test_dbm
        test_fcntl
        test_fork1
        test_epoll
        test_dbm_gnu
        test_dbm_ndbm
        test_grp
        test_ioctl
        test_largefile
        test_kqueue
        test_openpty
        test_ossaudiodev
        test_pipes
        test_poll
        test_posix
        test_pty
        test_pwd
        test_resource
        test_signal
        test_syslog
        test_threadsignals
        test_wait3
        test_wait4
        uwin32ua
        test_curses
        test_largefile
        test_kqueue
        test_ossaudiodev
        ulinux2u�
        test_epoll
        test_largefile
        test_kqueue
        test_minidom
        test_openpty
        test_pyexpat
        test_sax
        test_sundry
        u	unixware7u	openunix8uv
        test_asynchat
        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
        usco_sv3u�
        test__locale
        test_curses
        test_epoll
        test_dbm_gnu
        test_gdb
        test_largefile
        test_locale
        test_minidom
        test_ossaudiodev
        test_poll
        u�
        test_curses
        test_dbm
        test_epoll
        test_kqueue
        test_dbm_gnu
        test_gzip
        test_openpty
        test_zipfile
        test_zlib
        usunos5u

        test_curses
        test_epoll
        test_dbm_gnu
        test_gzip
        test_largefile
        test_locale
        test_kqueue
        test_minidom
        test_openpty
        test_pyexpat
        test_sax
        test_zipfile
        test_zlib
        uhp-ux11u�
        test_curses
        test_dbm
        test_epoll
        test_ioctl
        test_kqueue
        test_largefile
        test_locale
        test_ossaudiodev
        test_socketserver
        ucygwinu�
        test_audioop
        test_curses
        test_epoll
        test_kqueue
        test_largefile
        test_mmap
        test_openpty
        test_ossaudiodev
        test_pty
        test_resource
        test_signal
        uos2emxu:
        test_epoll
        test_dbm_gnu
        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
        ufreebsd4u�
        test_bz2
        test_epoll
        test_dbm_gnu
        test_gzip
        test_kqueue
        test_ossaudiodev
        test_tcl
        test_tk
        test_ttk_guionly
        test_ttk_textonly
        test_zipimport
        test_zlib
        uaix5u
        test_ctypes
        test_epoll
        test_dbm_gnu
        test_locale
        test_normalization
        test_ossaudiodev
        test_pep277
        test_tcl
        test_tk
        test_ttk_guionly
        test_ttk_textonly
        test_multiprocessing
        uopenbsd3u
        test_ctypes
        test_curses
        test_epoll
        test_dbm_gnu
        test_locale
        test_ossaudiodev
        test_pep277
        test_tcl
        test_tk
        test_ttk_guionly
        test_ttk_textonly
        test_multiprocessing
        unetbsd3ufreebsd5ufreebsd6ufreebsd7ufreebsd8cBs)|EeZd�Zd�Zd�ZdS(cCs|ddl}ddlm}d|_tjtkrxttj}t|j	��|_
|j
jd�|jj
s�|j
jd�nd}tj�j�|kr�|j
jd�|j
jd�|j
jd
�n|jr�|j
jd�ntjdkr+ddddddh}|j
|O_
ntjdkrM|j
jd�ntj�rl|j
jd�nd|_ndS(Ni(utest_timeoututest_nisutest_pep277uutf-8ulatin-1uasciiumbcsuutf-16uutf-32utest_profileu
test_cProfileutest_doctestutest_timeoutuwin32utest_unicode_fileutest_winregu
test_winsoundutest_startfileutest_sqliteutest_msilibusunos5utest_gdbF(uutf-8ulatin-1uasciiumbcsuutf-16uutf-32T(uos.pathutestutest_timeoutuFalseuvalidusysuplatformu
_expectationsusetusplituexpecteduaddupathusupports_unicode_filenamesugetfilesystemencodinguloweru
skip_expectedusupportupython_is_optimizeduTrue(uselfuosutest_timeoutusuencsuWIN_ONLY((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu__init__8s4	
	cCs|jS(u@Return true iff _ExpectedSkips knows about the current platform.(uvalid(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyuisvalidescCs|j�st�|jS(unReturn set of test names we expect to skip on current platform.

        self.isvalid() must be true.
        (uisvaliduAssertionErroruexpected(uself((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyugetexpectedisN(u__name__u
__module__u__init__uisvalidugetexpected(u
__locals__((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu_ExpectedSkips7s
	-	u_ExpectedSkipscCs�tj�r�tjjtjd�d�}tjj|�}ytj|�Wq�tk
r�}z|j	t	j
krz�nWYdd}~Xq�Xndjtj��}tjj||�}||fS(Nusrcdirubuildutest_python_{}(
u	sysconfiguis_python_builduosupathujoinuget_config_varuabspathumkdiruOSErroruerrnouEEXISTuformatugetpid(uTEMPDIRueuTESTCWD((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu_make_temp_dir_for_buildrsu__main__uquiet(Yu__doc__ubuiltinsuerrnougetoptuioujsonulogginguosuplatformurandomureushutilusysu	sysconfigutempfileutimeu	tracebackuunittestuwarningsuinspectu
isabstractu	threadinguImportErroruNoneumultiprocessing.processumultiprocessingumodulesuvaluesumoduleuhasattru__path__upathuabspathu__file__uresourceu	getrlimituRLIMIT_STACKusoftuharduminumaxunewsoftu	setrlimituPASSEDuFAILEDuENV_CHANGEDuSKIPPEDuRESOURCE_DENIEDuINTERRUPTEDutestusupportuRESOURCE_NAMESu
gettempdiruTEMPDIRuusageuFalseumainuSTDTESTSuNOTTESTSu	findtestsuobjectuMultiprocessTestsureplace_stdouturuntestustringiousaved_test_environmentuTrueu
runtest_innerucleanup_test_droppingsudash_Rudash_R_cleanupuwarm_char_cacheufindtestdiruremovepyucountu	printlistu
_expectationsu_ExpectedSkipsu_make_temp_dir_for_buildu__name__unormpathudirnameuargvumydirulenuiuAssertionErroruTESTCWDutemp_cwd(((u4/usr/local/python-3.2/lib/python3.2/test/regrtest.pyu<module>�s�


	
	��		
		=	
�8	*	B	C			

;	1
+%
© 2025 GrazzMean