python (3.12.0)

(root)/
lib/
python3.12/
test/
__pycache__/
test_pdb.cpython-312.opt-2.pyc

ΑeBddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZmZddl
mZddlmZddlmZddlmZddlmZGdd	eZd
ZdZdZd
ZdZdZdZdZ dZ!dZ"dZ#dZ$dZ%dZ&dZ'dZ(ejRdZ*e+de*jXdZ-dZ.dZ/dZ0d Z1d!Z2d"Z3d#Z4d$Z5d%Z6d&Z7d'Z8d(Z9d)Z:d*Z;d+Z<d,Z=d-Z>d.Z?d/Z@d0ZAd1ZBd2ZCd3ZDejGd4d5ejZGGd6d7ejZHd8ZIeJd9k(rejyy):N)	ExitStackredirect_stdout)StringIO)support)	os_helper)
_FakeInput)patchc eZdZ	dZdZdZy)PdbTestInputc||_yN)input)selfrs  A/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_pdb.py__init__zPdbTestInput.__init__s	
ctj|_t|jt_ttdrtj|_yd|_y)Ngettrace)sysstdin
real_stdinrrhasattrr
orig_tracers r	__enter__zPdbTestInput.__enter__s9))tzz*	,3C,D#,,.$rc|jt_|jr tj|jyyr
)rrrrsettrace)rexcs  r__exit__zPdbTestInput.__exit__"s)OO	??LL)rN)__name__
__module____qualname__rrrrrrrsDO
*rrcyr
r#r#rrtest_pdb_displayhookr%(srcyr
r#r#rrtest_pdb_basic_commandsr'EsRrc@ddl}|jjy)Nr)bdb
BreakpointclearBreakpoints)r)s rreset_Breakpointr,sNN##%rcyr
r#r#rrtest_pdb_breakpoint_commandsr.srcyr
r#r#rr:test_pdb_breakpoints_preserved_across_interactive_sessionsr0`s@rcyr
r#r#rrtest_pdb_pp_repr_excr2srcyr
r#r#rr
do_nothingr4srctdy)N*)printr#rrdo_somethingr8s		"Ircyr
r#r#rrtest_list_commandsr:s\rcyr
r#r#rrtest_pdb_whatis_commandr<$'rcyr
r#r#rrtest_pdb_display_commandr?N8rcyr
r#r#rrtest_pdb_alias_commandrB&rcyr
r#r#rrtest_pdb_where_commandrEr@rcyr
r#r#rrtest_convenience_variablesrGsKrcyr
r#r#rrtest_post_mortemrI;:rcyr
r#r#rrtest_pdb_skip_modulesrLyrmodule_to_skipz6def foo_pony(callback): x = 1; callback(); return Nonecyr
r#r#rr#test_pdb_skip_modules_with_callbackrPr=rcyr
r#r#rr test_pdb_continue_in_bottomframerRrCrcT	ttjdd||y)NTF)nosigintreadrc)getattrpdbPdb)methodargs  r
pdb_invoker[s!9GCGGT%0&9#>rcyr
r#r#rr$test_pdb_run_with_incorrect_argumentr]srcyr
r#r#rrtest_pdb_run_with_code_objectr_rMrcyr
r#r#rr&test_next_until_return_at_return_eventras=rcyr
r#r#rr#test_pdb_next_command_for_generatorrcUr@rcyr
r#r#rr#test_pdb_next_command_for_coroutineres5rcyr
r#r#rr"test_pdb_next_command_for_asyncgenrgrJrcyr
r#r#rr%test_pdb_return_command_for_generatorris4rcyr
r#r#rr%test_pdb_return_command_for_coroutinerk<r=rcyr
r#r#rr$test_pdb_until_command_for_generatorrmfs)rcyr
r#r#rr$test_pdb_until_command_for_coroutinero,rcyr
r#r#rr+test_pdb_next_command_in_generator_for_looprrr=rcyr
r#r#rr!test_pdb_next_command_subiteratorrtrprcyr
r#r#rrtest_pdb_issue_20766rvrcyr
r#r#rrtest_pdb_issue_43318ry3rcyr
r#r#rrtest_pdb_issue_gh_91742r|Ps*rcyr
r#r#rrtest_pdb_issue_gh_94215r~}s?rcyr
r#r#rrtest_pdb_issue_gh_101673rrzrcyr
r#r#rrtest_pdb_issue_gh_103225rrwrcyr
r#r#rrtest_pdb_issue_gh_101517rsrcyr
r#r#rrtest_pdb_issue_gh_108976r
srcyr
r#r#rrtest_pdb_ambiguous_statementsrsrc`eZdZdZej
ejjdd(dZ	d(dZ
dZdZdZ
dZd	Zd
ZdZdZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#dZ$dZ%d Z&d!Z'e(jRd"Z*d#Z+d$Z,d%Z-d&Z.y'))PdbTestCasecJtjtjyr
runlinkTESTFNrs rtearDownzPdbTestCase.tearDown6))*rz'PYTHONSAFEPATH changes default sys.pathc	H|jtjdtjddg|z}tj|t
jt
jt
jitjddi5}|jtj|\}}dddxrtj|}xrtj|}|j!j"|d|d|||fS#1swYbxYw)	N__pycache__-mrWPYTHONIOENCODINGutf-8stdoutrstderrenvzUnexpected return code
stdout: z	
stderr: )
addCleanuprrmtreer
executable
subprocessPopenPIPESTDOUTosenvironcommunicatestrencodebytesdecodeassertEqual
returncode)rpdb_argscommandsexpected_returncodecmdprocrrs        r_run_pdbzPdbTestCase._run_pdb9s	
	((-8~~tU+h6


! oo!((AA%7A
	D!--cjj.BCNFF	D0ELL00ELL0OO.vhjI	

v~	D	Ds(DD!c	d}t|d5}|jtj|ddd|j	t
j||j|g||S#1swY=xYw)Nmain.pyw)openwritetextwrapdedentrrrr)rscriptrrfilenamefs      rrun_pdb_scriptzPdbTestCase.run_pdb_scriptOsjA
(C
 	-A
GGHOOF+,	-	(((3}}hZ3FGG	-	-s%A11A:c(	d|_tj|j|jdz}|jdz}tj|jt|d5}	dddt|d5}|j
tj|ddd|jtj|j|jd|jg|S#1swYxYw#1swY]xYw)Nt_main/__main__.py/__init__.pyrr)module_namerrrmkdirrrrrrr)rrr	main_file	init_filers      rrun_pdb_modulezPdbTestCase.run_pdb_moduleWs6#))*$$~5	$$~5	
!!"
)S
!	Q	
)S
!	-Q
GGHOOF+,	-	(($*:*:;}}dD$4$45x@@			-	-s1C<%D<DDc&ttjd5}|j|ddd|sdn|dtj|df}|j	|tj|tjy#1swY[xYw)Nwbr)rrrrrrW
find_function)rfile_content	func_nameexpectedrs     r_assert_find_functionz!PdbTestCase._assert_find_functiones
)""D
)	"Q
GGL!	" (4QK))8A;.8c''	93C3CD	F	"	"sBBc*|jdddy)Nrfoo)rrs rtest_find_function_empty_filez)PdbTestCase.test_find_function_empty_filens""3t4rcF|jdjddy)Nu@def foo():
    pass

def bœr():
    pass

def quux():
    pass
bœr)rrrrs rtest_find_function_foundz$PdbTestCase.test_find_function_foundqs$""	
FH
	
rcH|jdjdddy)NuV# coding: iso-8859-15
def foo():
    pass

def bœr():
    pass

def quux():
    pass
ziso-8859-15r)rrrs r-test_find_function_found_with_encoding_cookiez9PdbTestCase.test_find_function_found_with_encoding_cookies'""

F=	
rch|jtjdjzddy)Nudef bœr():
    pass
r)rr)rcodecsBOM_UTF8rrs r!test_find_function_found_with_bomz-PdbTestCase.test_find_function_found_with_boms2""OOFH



	
rcttjd5}|jddddtj
ddtjg}t
j|tjtjtj}|j|jj|jd\}}|jd|dy#1swYxYw)	Nrsprint("testing my pdb")
rrWrrrsquit
sSyntaxErrorz0Got a syntax error running test script under PDB)rrrrrrrrrrrrcloserassertNotInrrrrrrs      rtest_issue7964zPdbTestCase.test_issue7964s
)""D
)	4Q
GG23	4~~tUI,<,<=??//$$
	
))*)))4K	M	4	4sC''C0cd}d}|j||\}}|xsd|xsdz}|jd|d|jd|dy)Nz
            def do_testcmdwithnodocs(self, arg):
                pass

            import pdb
            pdb.Pdb.do_testcmdwithnodocs = do_testcmdwithnodocs
        zA
            continue
            help testcmdwithnodocs
        AttributeErrorzCCalling help on a command with no docs should be handled gracefullyz;*** No help for 'testcmdwithnodocs'; __doc__ string missingz<Calling help on a command with no docs should print an error)rrassertIn)rrrrroutputs      rtest_issue46434zPdbTestCase.test_issue46434sg,,VX>,B6<R0)6^	`

SU[T	Vrcdd}d}d}tdd5}|jtj|ddd|j	t
jd|j||\}}|jtd|jDdy#1swYoxYw)Nz
            from bar import bar

            def foo():
                bar()

            def nope():
                pass

            def foobar():
                foo()
                nope()

            foobar()
        z
            from bar import bar
            break bar
            continue
            step
            step
            quit
        z5
            def bar():
                pass
        zbar.pyrc3$K|]}d|v
yw)zmain.py(5)foo()->NoneNr#.0ls  r	<genexpr>z.PdbTestCase.test_issue13183.<locals>.<genexpr>sJ'1,Jz+Fail to step into the caller after a return)rrrrrrrr
assertTrueany
splitlines)rrrbarrrrs       rtest_issue13183zPdbTestCase.test_issue13183s(C
 	*A
GGHOOC()	*	(((3,,VX>Jf6G6G6IJJ9	;		*	*s%B&&B/c	Rttjd5}|jt	j
dj
ddddtjdtjg}tj|tjtjtjitjddi}|j|j j"|j%d\}}|j'd	|d
y#1swYxYw)Nra
                import threading
                import pdb

                def start_pdb():
                    pdb.Pdb(readrc=False).set_trace()
                    x = 1
                    y = 1

                t = threading.Thread(target=start_pdb)
                t.start()ascii-urrrscont
Error*Got an error running test script under PDBrrrrrrrrrrrrrrrrrrrrrs      rtest_issue13120zPdbTestCase.test_issue13120s)""D
)	/Q
GGHOO
%
%fWo

/	/~~tY%5%56??//$$;2::;17;		
))*)))46E	G+	/	/4DD&c	Rttjd5}|jt	j
dj
ddddtjdtjg}tj|tjtjtjitjddi}|j|j j"|j%d\}}|j'd	|d
y#1swYxYw)Nra
                import threading
                import pdb

                evt = threading.Event()

                def start_pdb():
                    evt.wait()
                    pdb.Pdb(readrc=False).set_trace()

                t = threading.Thread(target=start_pdb)
                t.start()
                pdb.Pdb(readrc=False).set_trace()
                evt.set()
                t.join()rrrrrs
cont
cont
rrrrs      rtest_issue36250zPdbTestCase.test_issue36250s
)""D
)	.Q
GGHOO%$VG_
.	. ~~tY%5%56??//$$=RZZ=!3W=		
))*))/:6E	G3	.	.rcd}d}d}|j||d\}}|j||dj||y)Nzdef f: pass
rzSyntaxError:rrzE

Expected:
{}
Got:
{}
Fail to handle a syntax error in the debuggee.)rrformat)rrrrrrs      rtest_issue16180zPdbTestCase.test_issue16180sT !,,H!-
	


h
=
VHf
%	'rcd}d}|j||\}}dj|jDcgc]}|jc}}|j	|d|j	|dycc}w)Nzprint('hello')z[
            continue
            run a b c
            run d e f
            quit
        
z#Restarting .* with arguments:
a b cz#Restarting .* with arguments:
d e f)rjoinrstripassertRegex)rrrrrxress       rtest_issue26053zPdbTestCase.test_issue26053+sv!,,VX>iiF,=,=,?@q@ADEDEAsA:ctjd}tjj	dd}	tj5tdd5}|jddddtdd5}|j|dddtjdg}tj|tjtjtj}|5|jd\}}|jd	|dddddd||tjd<yy#1swYxYw#1swYxYw#1swY@xYw#1swYDxYw#||tjd<wwxYw)
Nz_
            import pdb; pdb.Pdb(readrc=False).set_trace()

            print('hello')
        HOME.pdbrcrzinvalid
rrsq
s(NameError: name 'invalid' is not defined)rrrrpoprtemp_cwdrrrrrrrrr)rr	save_homerrrrrs        rtest_readrc_kwargzPdbTestCase.test_readrc_kwarg9s]"
JJNN640		/##%
*(C()AGGK())S)$QGGFO$~~y1!''%??$//%??	*%)%5%5f%=NFF$$%P"(**
*($%.

6"%'))$$**
*
*($%.

6"%slE-
E!D=*E!>E	AE!/'EE!E-=E	E!	E	E!E	E!!E*&E--Fc~tjjdd}tj5}td5tjj|d}|tjj_		t|d5}|jdddd|jtjjdd||tjd<	ddddddy#1swYaxYw#||tjd<wwxYw#1swY9xYw#1swYyxYw)Nr
zos.path.expanduserrrinvalidr)rrrrtemp_dirr	pathr
expanduserreturn_valuerrrrWrXrcLines)rrrrc_pathrs     rtest_readrc_homedirzPdbTestCase.test_readrc_homedirYsJJNN640	



!		3Xu5I/J		3ggll8X6G.5BGG+
3'3''1GGI&'  !2!21!5yA()2BJJv&		3		3		3''()2BJJv&)		3		3		3		3sTD3AD'DD 9DD'/D3D	DD$$D''D0	,D33D<c	xtjd}tjj	dd}	tj5tddd5}|jddddtddd5}|j|dddtjdg}d	d
i}tjdk(rd|d
<tj|tjtjtjitj|}|5|jd\}}|j!d|dddddd||tjd<yy#1swYxYw#1swYxYw#1swYAxYw#1swYExYw#||tjd<wwxYw)NzR
            import pdb; pdb.Pdb().set_trace()
            print('hello')
        r
rrr)encodingu	Françaisrrrwin32znon-empty-stringPYTHONLEGACYWINDOWSSTDIOrsc
siUnicodeEncodeError: 'ascii' codec can't encode character '\xe7' in position 21: ordinal not in range(128))rrrrrrr
rrrrplatformrrrrr)	rrrrrrrrrs	         r#test_read_pdbrc_with_ascii_encodingz/PdbTestCase.test_read_pdbrc_with_ascii_encodingfs"
JJNN640		/##%
b(C':-aGGO,-)S7;$qGGFO$~~y1)73<<7*6HC23!''%??$//%??-2::--b%)%5%5f%=NFFMM#YZ`bb%
b0$%.

6"%/--$$bb%
b
b0$%.

6"%slF!FE0,FE=BF"'F		FF!0E:	5F=F	F	F	FFF!!F9cht}d}t5}|jtd||jtjt
jdtj|ddd|j|j|dzy#1swY-xYw)Nz"Nobody expects... blah, blah, blahz
sys.stdout	set_trace)headerr)
rr
enter_contextr	objectrWrXr rgetvalue)rrr!	resourcess    rtest_headerzPdbTestCase.test_headers5
[	)I##E,$?@##ELL+$FGMM(	)	
*FTM:		)	)sA%B((B1cd}d}|j||\}}|jtd|jD|y)Nzprint("SUCCESS")/
            continue
            quit
        c3$K|]}d|v
ywSUCCESSNr#rs  rrz.PdbTestCase.test_run_module.<locals>.<genexpr>HqINHrrrrrrrrrrs     rtest_run_modulezPdbTestCase.test_run_modulesH',,VX>HF4E4E4GHH&Qrcd}d}|j||\}}|jtd|jD|y)NzQ
            if __name__ == '__main__':
                print("SUCCESS")
        r(c3$K|]}d|v
ywr*r#rs  rrz9PdbTestCase.test_module_is_run_as_main.<locals>.<genexpr>r,rr-r.s     rtest_module_is_run_as_mainz&PdbTestCase.test_module_is_run_as_mainsJ,,VX>HF4E4E4GHH&Qrcd}d}|j||\}}|jtd|jD||jt	d|jD|y)Nz{
            if __name__ == '__main__':
                pass
                print("SUCCESS")
                pass
        z*
            b 3
            quit
        c3$K|]}d|v
yw)zBreakpoint 1 atNr#rs  rrz.PdbTestCase.test_breakpoint.<locals>.<genexpr>Pq-2Prc3$K|]}d|v
ywr*r#rs  rrz.PdbTestCase.test_breakpoint.<locals>.<genexpr>sL1IQ.Lr)rrrrallr.s     rtest_breakpointzPdbTestCase.test_breakpointsm,,VX>PF<M<M<OPPRXYL8I8I8KLLfUrcd}|jddg|\}}|jtj|j	ddy)Nz(
            c
            quit
        rrW
r)rrrW_usagereplace)rrrrs    rtest_run_pdb_with_pdbz!PdbTestCase.test_run_pdb_with_pdbsDe}h?

JJNN4$	
rc\d}tj||dz}tj|t	|d5	ddd|jtj||j
d|gdd\}}|jd|jy#1swYcxYw)	Nrrrrrrrz,ImportError: No module named t_main.__main__)	rrrrrrrrr)rrrrrs     rtest_module_without_a_mainz&PdbTestCase.test_module_without_a_mains%.0	

)S
!			((+6
;'
	


D'')	+
		sB""B+cpd}d}tj||dz|z}tj|t	|dzd5	ddd|jtj||j
d|jddgdd	
\}}|jd|y#1swYexYw)Nt_pkgr/rrr.rrrz;'t_pkg.t_main' is a package and cannot be directly executed)	rrrmakedirsrrrr<r)rpkg_namermodpathrrs      rtest_package_without_a_mainz'PdbTestCase.test_package_without_a_mains"S.;.
G
'N*C
0			(((3
7??3,-rq'
	


I	
		sB,,B5cd}d}|j||\}}|jtd|jD|y)NzY
                #This is a comment, on line 2

                print("SUCCESS")
        z
            quit
        c3$K|]}d|v
yw)z__main__.py(4)<module>()Nr#rs  rrz=PdbTestCase.test_blocks_at_first_code_line.<locals>.<genexpr>s ?%&7 !?rr-r.s     rtest_blocks_at_first_code_linez*PdbTestCase.test_blocks_at_first_code_linesU
,,VX>?*0*;*;*=??@F	Hrc@d|_tj|j|jdz}|jdz}|jdz}|jtj|jt	j
|jt
|d5}|jtjddddt
|d5}|jtjddddt
|d5}|jtjddddd	}|jd
|jg|\}}|jtd|jD||jtd|jD|jtd
|jDy#1swY.xYw#1swYxYw#1swYxYw)Nrrr
/module.pyr6
                top_var = "VAR from top"
            z
                from . import top_var
                from .module import var
                from . import module
                pass # We'll stop here and print the vars
            zY
                var = "VAR from module"
                var2 = "second var"
            zz
            b 5
            c
            p top_var
            p var
            p module.var2
            quit
        rc3$K|]}d|v
ywzVAR from moduleNr#rs  rrz4PdbTestCase.test_relative_imports.<locals>.<genexpr>	r5rc3$K|]}d|v
yw)zVAR from topNr#rs  rrz4PdbTestCase.test_relative_imports.<locals>.<genexpr>
	sMANa/Mrc3$K|]}d|v
yw)z
second varNr#rs  rrz4PdbTestCase.test_relative_imports.<locals>.<genexpr>	sK!LA-Krrrrrrrrrrrrrrrrrrmodule_filerrr_s        rtest_relative_importsz!PdbTestCase.test_relative_importss#))*$$~5	$$~5	&&5	(($*:*:;
!!"
)S
!	Q
GGHOO%
	)S
!	Q
GGHOO%
	+s
#	q
GGHOO%
	
MM4)9)9":HE	PF<M<M<OPPRXYM9J9J9LMMNKv7H7H7JKKL7						s$)%G:"%H%H:HHHcd|_tj|j|jdz}|jdz}|jdz}|jtj|jt	j
|jt
|d5}|jtjddddt
|d5}|jtjddddt
|d5}|jtjddddd	}|jd
|jdzg|\}}|jtd|jD|y#1swYxYw#1swYxYw#1swYxxYw)
Nrz	/runme.pyrrLrrMzl
                from . import module
                pass # We'll stop here and print the vars
            z5
                var = "VAR from module"
            zQ
            b 3
            c
            p module.var
            quit
        rz.runmec3$K|]}d|v
ywrOr#rs  rrzDPdbTestCase.test_relative_imports_on_plain_module.<locals>.<genexpr>-	r5rrRrSs        r%test_relative_imports_on_plain_modulez1PdbTestCase.test_relative_imports_on_plain_module	s#))*$${2	$$~5	&&5	(($*:*:;
!!"
)S
!	Q
GGHOO%
	)S
!	Q
GGHOO%
	
+s
#	q
GGHOO%
	MM4)9)9H)D"ExP	PF<M<M<OPPRXY)				
		s$)%F"%F+%F7F(+F47Gcdjgd}|jd|dz\}}|j|jddgdy)Nr)zprint(zdebug print(zdebug doesnotexistcpassr)
-> passz+(Pdb) *** SyntaxError: '(' was never closed!(Pdb) ENTERING RECURSIVE DEBUGGERz%*** SyntaxError: '(' was never closedLEAVING RECURSIVE DEBUGGERr^z> <string>(1)<module>()z9((Pdb)) *** NameError: name 'doesnotexist' is not definedr_(Pdb) rrrr)rrrrUs    rtest_errors_in_commandz"PdbTestCase.test_errors_in_command/	sV99
''4@	**,QR0
3

	rc6	fd}|dd|ddy)Ncdjd|dg}jd|dz\}}j|jdddd|d|d	gy)
Nrzrun qr\rr]z(Pdb) *** Cannot run z: r`ra)bad_argmsgrrrUrs     rcheckz*PdbTestCase.test_issue34266.<locals>.checkI	szyywi "H++FHtODIFAV..04'y3%87
r\zNo escaped character"zNo closing quotationr#)rrhs` rtest_issue34266zPdbTestCase.test_issue34266G	s#<
		d*+
c)*rcZ	tjd}d}tj5}dtj
j
|}|j||\}}|j|jddjd|dddy#1swYyxYw)NQ
            import sys
            print('sys.path[0] is', sys.path[0])
        c
q(Pdb) sys.path[0] is rr:)rrrr
rrrealpathrrsplitrstrip)rrrcwdrrrs       rtest_issue42384zPdbTestCase.test_issue42384W	sy"




!	KS.rww/?/?/D.EFH!00BNFFV\\$/299$?J	K	K	KsA+B!!B*c	tjd}d}tj5}tj
j
|}tj
j|d}tj
j|d}d|}t	j|ttj
j|dd5}|j|dddt	j|t	jtj
j|dtj
j|d|jtj
jddg|\}}	|j|jdd	jd
|dddy#1swYxYw#1swYyxYw)Nrmrndir_onedir_tworofoo.pyrrrpr:)rrrr
rrrqrrrrsymlinkrrrrrs)
rrrrtrwrxrrrrs
          rtest_issue42384_symlinkz#PdbTestCase.test_issue42384_symlinkf	scw"




!	KS''""3'Cggll3	2Gggll3	2G.wi8HHHWbggll7H5s;
 q
 HHWJJrww||GX6Wh8WX!]]BGGLLH,M+NPXYNFFV\\$/299$?J	K	K
 
 	K	Ks%B$GG#CGG	GGctj5}tdd5}tjd}|j|dddtjj|d}t
j|t
jtjj|dtjj|d}t|d5}|jdddd|jdgd\}}d}|j|jdd	jd
|dddy#1swYxYw#1swYjxYw#1swYyxYw)Nryrz
                    print('The correct file was executed')

                    import os
                    os.chdir("subdir")
                subdirz$print("The wrong file was executed")zc
c
qz#(Pdb) The correct file was executedrr:)rr
rrrrrrrrrrrrrs)	rrtrsr}
wrong_filerrrs	         rtest_issue42383zPdbTestCase.test_issue42383	s9



!	KSh$
OO%

WW\\#x0FHHVHHRWW\\&(34fh7Jj#&
@!>?
@"]]H:yANFF<HV\\$/299$?J)	K	K


@
@	K	Ks<
E,'E	BE,%E 7AE,E	E, E)	%E,,E5c~d}tjd}|j||\}}|j|y)Nz            def func():
                def inner(v): pass
                inner(
                    42
                )
            func()
        zj
            break func
            continue
            next
            next
            jump 2
        )rrrassertFalser.s     rtest_gh_94215_crashzPdbTestCase.test_gh_94215_crash	sD??$
,,VX> rcd}d}d}tdd5}|jtj|dddtdd5}|jtj|ddd|j	t
jd|j	t
jd|jdg|\}}|jd|dy#1swYxYw#1swYxYw)	Nza
        def func():
            x = "Sentinel string for gh-93696"
            print(x)
        aL
        import os
        import sys

        def _create_fake_frozen_module():
            with open('gh93696.py') as f:
                src = f.read()

            # this function has a co_filename as if it were in a frozen module
            dummy_mod = compile(src, "<frozen gh93696>", "exec")
            func_code = dummy_mod.co_consts[0]

            mod = type(sys)("gh93696")
            mod.func = type(lambda: None)(func_code, mod.__dict__)
            mod.__file__ = 'gh93696.py'

            return mod

        mod = _create_fake_frozen_module()
        mod.func()
        zf
            break 20
            continue
            step
            list
            quit
        z
gh93696.pyrzgh93696_host.pyz"x = "Sentinel string for gh-93696"zSentinel statement not found)	rrrrrrrrr)r
frozen_srchost_programrrrrs       rtest_gh_93696_frozen_listz%PdbTestCase.test_gh_93696_frozen_list	s

*,
$	1
GGHOOJ/0	1#S
)	3Q
GGHOOL12	3	
	((,7	((*;<(9':HE

:FDbc	1	1	3	3s%C#%C/#C,/C8c@tjjtjjtd}tj
|D]E}|j
ds|jtjj||gdGy)Nencoded_modulesz.pyre)rrrdirname__file__listdirendswithr)r
script_dirrs   rtest_non_utf8_encodingz"PdbTestCase.test_non_utf8_encoding	slWW\\"''//(";=NO


:.	IH  '

rww||JABCH	IrN)r)/r r!r"runittestskipIfrflags	safe_pathrrrrrrrrrrrrrrrrrrr&r/r2r8r=r?rGrJrVrYrbrkrurskip_unless_symlinkr{rrrrr#rrrr4s+X__SYY((>@@(HAF5
 
"

MV*";HG8G<'F/@3 /D;R
R
V	
+ H#MJZ>0+ 
K""K#K0K.!&,d\Irrc*eZdZdZdZdZdZdZy)ChecklineTestsc,tjyr
)	linecache
clearcachers rsetUpzChecklineTests.setUp	srcJtjtjyr
rrs rrzChecklineTests.tearDown	rrcttjd5}|jddddt	j
}|j
|jtjddy#1swYNxYwNrz
print(123)r)rrrrrWrXr	checklinerrdbs   rtest_checkline_before_debuggingz.ChecklineTests.test_checkline_before_debugging	sa
)""C
(	"A
GGL!	"
WWYi&6&6:A>	"	"sA::Bc,ttjd5}|jddddt	j
}|j
|j|jtjddy#1swY^xYwr)	rrrrrWrXresetrrrs   rtest_checkline_after_resetz)ChecklineTests.test_checkline_after_reset	sj
)""C
(	"A
GGL!	"
WWY

i&6&6:A>		"	"sB

Bctjd}ttjd5}|j|dddt
|jdz}tt5tj}t|D]1}|j|jtj|3	dddy#1swYxYw#1swYyxYw)Nz\
            # Comment
            """ docstring """
            ''' docstring '''

        rrp)rrrrrrlenrrrrWrXrangerr)rrr	num_linesrlinenos      r test_checkline_is_not_executablez/ChecklineTests.test_checkline_is_not_executable	sOO

)""C
(	A
GGAJ	'!+	
XZ
(	IB	*
I  i.>.>!GH
I	I	I			I	IsC9AC#C #C,N)r r!r"rrrrrr#rrrr	s+??IrrcZddlm}|jtj||S)Nr)test_pdb)testraddTestdoctestDocTestSuite)loadertestspatternrs    r
load_testsr
s!	MM'&&x01Lr__main__)LrrrWrtypesrrrrr
contextlibrriorrrtest.supportrtest.test_doctestr
unittest.mockr	r#rr%r'r,r.r0r2r4r8r:r<r?rBrErGrIrL
ModuleTypemodexec__dict__rPrRr[r]r_rarcrergrirkrmrorrrtrvryr|r~rrrrrrequires_subprocessTestCaserrrr mainr#rr<module>rs	


1"(*6*":Sj&@DAF8	]~(T9v'R9vL\;|0e'(=s||L(V'T?

 ,>@9v6p;z5n(T*X-^(T-^2:+Z@D:2*$0f
I(##f
If
IP"IX&&"IJzHMMOr