
    i                     j   d Z ddlZedk(  rddlZej                  j                  ej                  j                  e            d   Zej                  j                  e      \  Z	Z
e
dk(  xr! ej                  j                  e	      d   dk(  Zes.ej                  j                  de	       nej                  d      ZerddlmZ dd	lmZ nddlmZ dd	lmZ erd
ZndZej*                  d   Zedk(  rde dZ ej.                  de de d        ej0                  dddd        ej0                  ddd        ej0                  ddddd         ej0                  d!d"d#dd$         ej0                  d%d&d'd()        ej0                  d*d+d,d-ej2                  z  )        ej0                  d.d/dd0        ej0                  d1d2dd34        ej4                         \  ZZi Zej<                  rd5ed6<   ej>                  rd5ed7<   nd8ed7<   ej@                  rd5ed9<   ejB                  rejB                  ed:<   ejD                  rejD                  ed;<   ejF                  rd5ed<<   ejH                  rd5ed=<   ejJ                  ejJ                  ed><   ejL                  ejL                  ed?<   ejN                  ejN                  ed@<   ejP                  rejP                  edA<   ejR                  rejR                  edB<   ejT                  rd5edC<   ejV                  ejV                  ndedD<    eei e y)Ea  Load and run the Pygame test suite

python -c "import pygame.tests.go" [<test options>]

or

python test/go.py [<test options>]

Command line option --help displays a command line usage message.

run_tests.py in the main distribution directory is an alternative to test.go

    N__main__tests   pygamezpygame.tests.)run_and_exit)
opt_parserzpygame.teststestz-czpython -c "import z.go"z

Runs all or some of the z.xxxx_test tests.

$ z sprite threads -sd

Runs the sprite and threads module tests isolated in subprocesses, dumping
all failing tests info in the form of a dict.

z-dz--dump
store_truez"dump results as dict ready to eval)actionhelpz-Fz--filezdump results to a file)r   z-mz--multi_threadTHREADSintz#run subprocessed tests in x THREADS)metavartyper   z-tz
--time_outSECONDSz-kill stalled subprocessed tests after SECONDSz-fz--fakeDIRz'run fake tests in run_tests__tests/$DIR)r   r   z-pz--pythonPYTHONzPpath to python executable to run subproccesed tests
default (sys.executable): %sz-Iz--interactivez"include tests requiring user inputz-Sz--seedzRandomisation seed)r   r   T
incompleteusesubprocessFdumpfileexclude
unbuffered	randomizeseedmulti_threadtime_outfakepythoninteractive	verbosity),__doc__sys__name__ospathsplitabspath__file__pkg_dir
parent_dirpkg_nameis_pygame_pkginsert
startswith!pygame.tests.test_utils.run_testsr   #pygame.tests.test_utils.test_runnerr   test.test_utils.run_teststest.test_utils.test_runnertest_pkg_nameargvprogram_name	set_usage
add_option
executable
parse_argsoptionsargskwdsr   r   r   r   r   r   r   r   r   r   r   r   r    r!        _/home/obispo/Crisostomo_bridge/mision_env/lib/python3.12/site-packages/pygame/tests/__main__.py<module>rA      s`   zggmmBGGOOH56q9G77==1J'TBGGMM*,Ea,HH,TM:&''8M>>66"MMxx{4'd;L 
  	& (. 		 
  (<.R 
  dH+C D 
  		. 
  		8 
  (E(Q 
  
#%(^^
4	 
  	-	 
  dH57K L &
%%'	
D
 D!D
<<DL
<<<<DL
??ooDO
D
D
<<<<DL
#"//D
''D
<<<<DL
>>^^DN
D)0):):)FG%%A[ 
 d d r?   