python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
test_userstring.cpython-311.pyc

e
ddlZddlmZddlmZGddejejejZe	dkrej
dSdS)N)string_tests)
UserStringc<eZdZeZdZdddZdZdZdZ	dZ
dS)	UserStringTestc||}||}t|||i|}|||dSN)fixtypegetattrassertEqual)selfresultobject
methodnameargskwargs
realresults       H/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_userstring.py
checkequalzUserStringTest.checkequalsjf%%f%%0WVZ00$A&AA
	
	
	
	
	
N)expected_msgcX||}||5}t|||dddn#1swxYwY|t	|jd|*|t	|j|dSdS)N)r	assertRaisesr
assertNotEqualstr	exceptionr)rexcobjrrrcms       rcheckraiseszUserStringTest.checkraisessll3


s
#
#	,r$GC$$d++	,	,	,	,	,	,	,	,	,	,	,	,	,	,	,C--r222#S..=====$#sAAAcV||}t|||dSr)r	r
)rrrrs    r	checkcallzUserStringTest.checkcall's0f%%#
##T****rcGddt}Gdd|}|d}|d}|||zddS)NceZdZdS)'UserStringTest.test_rmod.<locals>.ustr2N)__name__
__module____qualname__rrustr2r%-sDrr*ceZdZfdZxZS)'UserStringTest.test_rmod.<locals>.ustr3cFt|Sr)super__rmod__)rother	__class__s  rr/z0UserStringTest.test_rmod.<locals>.ustr3.__rmod__1sww''...r)r&r'r(r/
__classcell__)r1s@rustr3r,0s8
/
/
/
/
/
/
/
/
/rr3zvalue is %sTESTz
value is TEST)rr)rr*r3fmt2str3s     r	test_rmodzUserStringTest.test_rmod,s					J				/	/	/	/	/E	/	/	/u]##uV}}o66666rc|ddd|ddd|tdddSNshellohelloencodes𣑖u𣑖urr UnicodeErrorrs rtest_encode_default_argsz'UserStringTest.test_encode_default_args8sM'8444+\8DDDx:::::rc|ddddd|ddddd|tdddddSr9r<r>s rtest_encode_explicit_none_argsz-UserStringTest.test_encode_explicit_none_args?sY'8T4@@@+\8T4PPPx4FFFFFr)r&r'r(r	type2testrr r"r7r?rAr)rrrr	sI



EI>>>>>+++

7
7
7;;;GGGGGrr__main__)unittesttestrcollectionsr
CommonTestMixinStrUnicodeUserStringTestTestCaserr&mainr)rr<module>rKs"""""";G;G;G;G;G.;G;G;G|zHMOOOOOr