+
    ;i                       ^ RI Ht ^ RI Ht ^ RIHtHt ^ RIHt ^ RIt^ RI	H
t
HtHt ^ RIHtHtHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt R tR tR tR tR tR tR tR t R t!R t"R t#R t$R t%R t&R t'R t(R t)R t*R t+R t,R  t-R! t.R" t/R# t0R$ t1R% t2R& t3R' t4R( t5R) t6R* t7R+ t8R, t9R- t:R. t;R/ t<R0 t=R1 t>R2 t?R3 t@R4 tAR5 tBR6 tCR7 tDR8 tER9 tFR: tGR; tHR< tIR= tJR> tKR? tLR@ tMRA tNRB tORC tPRD tQRE tRRF tSRG tTRH tURI tVRJ tWRK tXRL tYRM tZRN t[RO t\RP t]RQ t^RR t_RS t`RT taRU tbRV tcRW tdRX teRY tfRZ tgR[ thR\ ti ! R] R^]]
4      tj. RhOtk. RiOtl. RjNRkNRlNRmNRnNRoNRpNRqNRrNRsNRtNRuNRvNRwNRxNRyNRzNR{NR|NR}NR~NRNRNRNRNRNRNRNRNRNRNRNtm ! R_ R`]j4      tn ! Ra Rb]j4      to ! Rc Rd]j4      tp ! Re Rf]j4      tq]rRg8X  d   ]P                  ! 4        R# R# )    )product)permutations)njittypeof)typesN)TestCaseno_pyobj_flagsMemoryLeakMixin)TypingErrorUnsupportedErrorUnsupportedBytecodeError)_MAX_UNICODE)_header_lead)overload)	PYVERSIONc                 j    \         ;QJ d    R  V  4       F  '       d   K   R# 	  R# ! R  V  4       4      # )c              3   >   "   T F  p\        V4      ^8  x  K  	  R# 5i)   Nord).0cs   & V/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/tests/test_unicode.py	<genexpr>isascii.<locals>.<genexpr>   s     'Qs1v|Qs   FT)allss   &r   isasciir      s+    3'Q'33'3'3'Q'''    c                      R #    大处着眼，小处着手。 r$   r    r   literal_usecaser%      s    +r    c                     V # Nr$   xs   &r   passthrough_usecaser*      s    Hr    c                 
    W8H  # r'   r$   r)   ys   &&r   
eq_usecaser.      	    6Mr    c                     \        V 4      # r'   lenr(   s   &r   len_usecaser3   !       q6Mr    c                     \        V 4      # r'   )boolr(   s   &r   bool_usecaser7   %   s    7Nr    c                     W,          # r'   r$   r)   is   &&r   getitem_usecaser;   )   s	    4Kr    c                 $    \        W,          4      # r'   )hashr9   s   &&r   getitem_check_kind_usecaser>   -   s    :r    c                 $    V P                  V4      # r'   )zfillr,   s   &&r   zfill_usecaserA   1       771:r    c                     W,           # r'   r$   r,   s   &&r   concat_usecaserD   5   	    5Lr    c                     W,          # r'   r$   r,   s   &&r   repeat_usecaserG   9   rE   r    c                     W,          p V # r'   r$   r,   s   &&r   inplace_concat_usecaserI   =   s    FAHr    c                 
    W9   # r'   r$   r,   s   &&r   
in_usecaserK   B   r/   r    c                 
    W8  # r'   r$   r,   s   &&r   
lt_usecaserM   F   	    5Lr    c                 
    W8*  # r'   r$   r,   s   &&r   
le_usecaserP   J   r/   r    c                 
    W8  # r'   r$   r,   s   &&r   
gt_usecaserR   N   rN   r    c                 
    W8  # r'   r$   r,   s   &&r   
ge_usecaserT   R   r/   r    c                 $    V P                  V4      # r'   )	partitionr   seps   &&r   partition_usecaserY   V   s    ;;sr    c                 $    V P                  V4      # r'   findr,   s   &&r   find_usecaser]   Z       66!9r    c                 $    V P                  W4      # r'   r[   r)   r-   starts   &&&r   find_with_start_only_usecaserb   ^   s    66!r    c                 &    V P                  WV4      # r'   r[   r)   r-   ra   ends   &&&&r   find_with_start_end_usecaserf   b   s    66!C  r    c                 $    V P                  V4      # r'   )
rpartitionrW   s   &&r   rpartition_usecaseri   f   s    <<r    c                 $    V P                  V4      # r'   countr,   s   &&r   count_usecaserm   j   rB   r    c                 $    V P                  W4      # r'   rk   r`   s   &&&r   count_with_start_usecasero   n       771r    c                 &    V P                  WV4      # r'   rk   rd   s   &&&&r   count_with_start_end_usecaserr   r       771S!!r    c                 $    V P                  V4      # r'   rfindr,   s   &&r   rfind_usecaserw   v   rB   r    c                 $    V P                  W4      # r'   ru   r`   s   &&&r   rfind_with_start_only_usecasery   z   rp   r    c                 &    V P                  WV4      # r'   ru   rd   s   &&&&r   rfind_with_start_end_usecaser{   ~   rs   r    c                 $    V P                  W4      # r'   replace)r   r)   r-   s   &&&r   replace_usecaser      s    99Q?r    c                 &    V P                  WV4      # r'   r}   r   r)   r-   rl   s   &&&&r   replace_with_count_usecaser      s    99Q5!!r    c                 $    V P                  V4      # r'   rindexr,   s   &&r   rindex_usecaser          88A;r    c                 $    V P                  W4      # r'   r   r`   s   &&&r   rindex_with_start_only_usecaser      s    88Ar    c                 &    V P                  WV4      # r'   r   rd   s   &&&&r   rindex_with_start_end_usecaser      s    88Ac""r    c                 $    V P                  V4      # r'   indexr,   s   &&r   index_usecaser      rB   r    c                 $    V P                  W4      # r'   r   r`   s   &&&r   index_with_start_only_usecaser      rp   r    c                 &    V P                  WV4      # r'   r   rd   s   &&&&r   index_with_start_end_usecaser      rs   r    c                 $    V P                  V4      # r'   
startswithr,   s   &&r   startswith_usecaser      s    <<?r    c                 $    V P                  V4      # r'   endswithr,   s   &&r   endswith_usecaser      s    ::a=r    c                 "    V P                  4       # r'   
expandtabsr   s   &r   expandtabs_usecaser          <<>r    c                 $    V P                  V4      # r'   r   r   tabsizes   &&r   expandtabs_with_tabsize_usecaser      s    <<  r    c                 &    V P                  VR 7      # ))r   r   r   s   &&r   %expandtabs_with_tabsize_kwarg_usecaser      s    <<<((r    c                 $    V P                  W4      # r'   r   r`   s   &&&r   "startswith_with_start_only_usecaser      s    <<!!r    c                 &    V P                  WV4      # r'   r   rd   s   &&&&r   !startswith_with_start_end_usecaser      s    <<#&&r    c                 $    V P                  W4      # r'   r   r`   s   &&&r    endswith_with_start_only_usecaser      s    ::ar    c                 &    V P                  WV4      # r'   r   rd   s   &&&&r   endswith_with_start_end_usecaser      s    ::a$$r    c                 $    V P                  V4      # r'   splitr,   s   &&r   split_usecaser      rB   r    c                 $    V P                  W4      # r'   r   r)   r-   maxsplits   &&&r   split_with_maxsplit_usecaser          771r    c                 &    V P                  WR 7      # )r   r   r   s   &&&r   !split_with_maxsplit_kwarg_usecaser      s    7717((r    c                 "    V P                  4       # r'   r   r(   s   &r   split_whitespace_usecaser          779r    c                 "    V P                  4       # r'   
splitlinesr   s   &r   splitlines_usecaser      r   r    c                 $    V P                  V4      # r'   r   r   keependss   &&r    splitlines_with_keepends_usecaser      s    <<!!r    c                 &    V P                  VR 7      # ))r   r   r   s   &&r   &splitlines_with_keepends_kwarg_usecaser      s    <<<**r    c                 $    V P                  V4      # r'   rsplitrW   s   &&r   rsplit_usecaser      s    88C=r    c                 $    V P                  W4      # r'   r   r   rX   r   s   &&&r   rsplit_with_maxsplit_usecaser      s    88C""r    c                 &    V P                  WR 7      # r   r   r   s   &&&r   "rsplit_with_maxsplit_kwarg_usecaser      s    88C8++r    c                 "    V P                  4       # r'   r   r   s   &r   rsplit_whitespace_usecaser          88:r    c                 "    V P                  4       # r'   lstripr(   s   &r   lstrip_usecaser      r   r    c                 $    V P                  V4      # r'   r   r)   charss   &&r   lstrip_usecase_charsr          88E?r    c                 "    V P                  4       # r'   rstripr(   s   &r   rstrip_usecaser      r   r    c                 $    V P                  V4      # r'   r   r   s   &&r   rstrip_usecase_charsr      r   r    c                 "    V P                  4       # r'   stripr(   s   &r   strip_usecaser     r   r    c                 $    V P                  V4      # r'   r   r   s   &&r   strip_usecase_charsr     s    775>r    c                 $    V P                  V4      # r'   )joinr,   s   &&r   join_usecaser   
  r^   r    c                 J    R .pVP                  4        V P                  V4      #  )popr   )r)   ls   & r   join_empty_usecaser     s     	AEEG66!9r    c                 $    V P                  V4      # r'   centerr,   s   &&r   center_usecaser     r   r    c                 $    V P                  W4      # r'   r   r)   r-   fillchars   &&&r   center_usecase_fillcharr     s    88A  r    c                 $    V P                  V4      # r'   ljustr,   s   &&r   ljust_usecaser     rB   r    c                 $    V P                  W4      # r'   r   r   s   &&&r   ljust_usecase_fillcharr   !  r   r    c                 $    V P                  V4      # r'   rjustr,   s   &&r   rjust_usecaser  %  rB   r    c                 $    V P                  W4      # r'   r  r   s   &&&r   rjust_usecase_fillcharr  )  r   r    c                 "    V P                  4       # r'   )istitler(   s   &r   istitle_usecaser  -      99;r    c                 >    . pV  F  pVP                  V4       K  	  V# r'   append)r)   r   r:   s   &  r   iter_usecaser  1  s!    
A	 Hr    c                 "    V P                  4       # r'   )titler(   s   &r   r  r  8  r   r    c                  >    . p R  F  pV P                  V4       K  	  V # r"   r  )r   r:   s     r   literal_iter_usecaser  <  s!    
A-	 .Hr    c                 Z    R p^ p\        V 4       F  w  r4W,          pV^,          pK  	  W3# r   )	enumerate)r)   bufscanr:   r   s   &    r   enumerated_iter_usecaser  C  s6    
CD!	  9r    c                 z    \        V 4      p\        V 4      p\        V^,           4       F  p\        V4       K  	  R# )   N)r2   iterrangenext)r)   nr:   _s   &   r   iter_stopiteration_usecaser  L  s-    AAQA1q5\Q r    c                  ~    R p \        V 4      p\        V 4      p\        V^,           4       F  p\        V4       K  	  R# )r#   N)r  r2   r  r  )r   r:   r  r  s       r   "literal_iter_stopiteration_usecaser   S  s2    (AQAAA1q5\Q r    c                 "    V P                  4       # r'   )islowerr(   s   &r   islower_usecaser#  [  r	  r    c                 "    V P                  4       # r'   )lowerr(   s   &r   lower_usecaser&  _  r   r    c                     \        V 4      # r'   r   r(   s   &r   ord_usecaser(  c  r4   r    c                     \        V 4      # r'   )chrr(   s   &r   chr_usecaser+  g  r4   r    c                   2   a a ] tR tRt oV 3R ltRtVtV ;t# )BaseTestik  c                ,   < \         \        V `  4        R # r'   )superr-  setUp)self	__class__s   &r   r0  BaseTest.setUpl  s    h#%r    r$   )__name__
__module____qualname____firstlineno__r0  __static_attributes____classdictcell____classcell__)r2  __classdict__s   @@r   r-  r-  k  s     & &r    r-  c                   h  a  ] tR tRt o R t]3R lt]3R ltR tR t	]3R lt
]3R lt]3R	 lt]3R
 lt]3R lt]3R ltR tR tR tR tR tR tR tR tR tR tR tR tR tR t]3R ltR tR t ]3R lt!R t"R  t#R! t$R" t%R# t&R$ t'R% t(R& t)R' t*R( t+R) t,R* t-R+ t.R, t/R- t0R. t1R/ t2R0 t3R1 t4R2 t5R3 t6R4 t7R5 t8R6 t9R7 t:R8 t;R9 t<R: t=R; t>R< t?R= t@R> tAR? tB]3R@ ltC]3RA ltDRB tERC tFRD tGRE tHRF tIRG tJRH tKRI tLRJ tMRK tNRL tORM tPRN tQRO tRRP tSRQ tTRR tURS tVRT tWRU tXRV tY]3RW ltZRX t[RY t\RZ t]R[ t^R\ t_]3R] lt`]3R^ lta]3R_ ltb]3R` ltc]3Ra ltdRb teRc tfRd tgRe thRf tiRg tjRh tkRi tlRj tmRk tnRl toRm tpRn tqRo trRp tsRq ttRr tuRs tvRt twRu txRv tyRw tzRx t{Ry t|Rz t}R{ t~R|tV tR}# )~TestUnicodei  c                h    \         p\        \         4      pV P                  V! 4       V! 4       4       R # r'   )r%   r   assertPreciseEqualr1  pyfunccfuncs   &  r   test_literalTestUnicode.test_literal  s%     _%%'2r    c                ~    \         p\        V4      p\         F!  pV P                  V! V4      V! V4      4       K#  	  R # r'   )r*   r   UNICODE_EXAMPLESassertEqualr1  flagsrA  rB  r   s   &&   r   test_passthroughTestUnicode.test_passthrough  s2    $V!AVAYa1 "r    c           	     Z   \         p\        V4      p\         F  p\        \        4       Fy  pV P	                  V! WE4      V! WE4      V: R V: 24       V P	                  V! V^4      V! V^4      V: R ^: 24       V P	                  V! ^V4      V! ^V4      ^: R V: 24       K{  	  K  	  R# )z, N)r.   r   rF  reversedrG  r1  rI  rA  rB  abs   &&    r   test_eqTestUnicode.test_eq  s    V!A./  !&q!Q.?A   1!&q!!Q.?A  1!&q!!Q.?A 0 "r    c                    \         R  4       p\        R!   F,  w  r#V P                  V! W#4      VP                  W#4      4       K.  	  R# )c                 F    V ^ 8  d   RpMRpV^ 8  d   RpMRpW#8X  d   ^
# ^# )r   concreteNr$   )pred1pred2	resolved1	resolved2s   &&  r   foo)TestUnicode.test_eq_optional.<locals>.foo  s2    qy&	 	qy&	 	 %r    N)r  r\  )r   r   rG  py_func)r1  rZ  p1p2s   &   r   test_eq_optionalTestUnicode.test_eq_optional  sD    		 
	   0HRS[#++b*=> 1r    c                   Tp\        V4      p\         F8  pV P                  V! WD4      V! WD4      VP                  : R V: RV: R24       K:  	  \	        \        ^R7       Fo  w  rEV P                  V! WE4      V! WE4      VP                  : R V: RV: R24       V P                  V! WT4      V! WT4      VP                  : R V: RV: R24       Kq  	  R# )z: "z", ""rN)r   UNICODE_ORDERING_EXAMPLESrG  r4  r   )r1  usecaserA  rB  rO  rP  s   &&    r   _check_ordering_opTestUnicode._check_ordering_op  s    V +Aqa$+$4$4a; + !!:a@DAqa$+$4$4a; qa$+$4$4a; Ar    c                0    V P                  \        4       R # r'   )ri  rM   r1  rI  s   &&r   test_ltTestUnicode.test_lt      
+r    c                0    V P                  \        4       R # r'   )ri  rP   rl  s   &&r   test_leTestUnicode.test_le  ro  r    c                0    V P                  \        4       R # r'   )ri  rR   rl  s   &&r   test_gtTestUnicode.test_gt  ro  r    c                0    V P                  \        4       R # r'   )ri  rT   rl  s   &&r   test_geTestUnicode.test_ge  ro  r    c                ~    \         p\        V4      p\         F!  pV P                  V! V4      V! V4      4       K#  	  R # r'   )r3   r   rF  rG  rH  s   &&   r   test_lenTestUnicode.test_len  s2    V!AVAYa1 "r    c                ~    \         p\        V4      p\         F!  pV P                  V! V4      V! V4      4       K#  	  R # r'   )r7   r   rF  rG  rH  s   &&   r   	test_boolTestUnicode.test_bool  s2    V!AVAYa1 "r    c                    \         p\        V4      p. ROpRpV F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )r   z*Results of "{}".expandtabs() must be equalmsgN	r   	zt	t	za	u   	⚡z	a	bc
ab	cu   🐍	⚡u   🐍⚡
		🐍	zabab			ab
	a)r   r   rG  formatr1  rA  rB  casesr  r   s   &     r   test_expandtabsTestUnicode.test_expandtabs  sN    #VN ;AVAYacjjmD r    c                "   \        \        4      \        \        4      .pR R.p. ROpV Fb  p\        R^
4       FO  p\	        W4       F=  w  rgV P                  VP                  WE4      V! WE4      VP                  WE4      R7       K?  	  KQ  	  Kd  	  R# )z,Results of "{}".expandtabs({}) must be equalz4Results of "{}".expandtabs(tabsize={}) must be equalr  Nr  r]  )r   r   r   r  ziprG  r^  r  )r1  fnsmessagesr  r   r   fnr  s   &       r   test_expandtabs_with_tabsize(TestUnicode.test_expandtabs_with_tabsize  s    349:<BJLN A R="31GB$$RZZ%;R^),A)? % A  2 ) r    c                D   \         p\        V4      p\        P                  \        3pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       RP                  V4      pV P                  V\        XP                  4      4       R#   + '       g   i     LH; i)r  333333@Nz"tabsize" must be {}, not float)r   r   r   IntegerintassertRaisesr   r  assertInstr	exception)r1  rA  rB  accepted_typesraisesr  s   &     r   ,test_expandtabs_exception_noninteger_tabsize8TestUnicode.test_expandtabs_exception_noninteger_tabsize+  sr    0V---{++v$ ,/66~Fc3v//01 ,+s   
BB	c           	         \         p\        V4      p. ROp. ROpRR.pV\        ,            FO  pRRVRR	 VR,          WfV,           .pWG,           V,            F!  pV P                  V! Wh4      V! Wh4      4       K#  	  KQ  	  R# )
hellor   hellohellohello r)   N   NNr  
helloworldr   
her  r  ellor   lowolor  r  or   r   rF  rG  )	r1  rA  rB  cpython_strcpython_subs
extra_subsr   default_subsprefixs	   &        r   test_startswith_default#TestUnicode.test_startswith_default5  s    #V1
 (-
///AQsVQrUA1u=L&5
BB  !2E!4DE C 0r    c                L   \         p\        V4      p. ROp. ROpRR.pV\        ,            Fu  pRRVRR	 VR,          WfV,           .pWG,           V,            FG  p\        \	        R
^4      4      R.,            F#  p	V P                  V! WhV	4      V! WhV	4      4       K%  	  KI  	  Kw  	  R# r  r   r  r  r)   Nr  r  r  r  )r   r   rF  listr  rG  )
r1  rA  rB  r  r  r  r   r  r  ra   s
   &         r   test_startswith_with_start&TestUnicode.test_startswith_with_startD  s    3V1
 (-
///AQsVQrUA1u=L&5
BB!%R.1TF::E$$VAu%=%*1e%<> ; C 0r    c                   \         p\        V4      p. ROp. ROpRR.pV\        ,            F  pRRVRR	 VR,          WfV,           .pWG,           V,            Fk  p\        \	        R
^4      4      R.,            FG  p	\        \	        R
^4      4      R.,            F#  p
V P                  V! WhW4      V! WhW4      4       K%  	  KI  	  Km  	  K  	  R# r  r   r   rF  r  r  rG  )r1  rA  rB  r  r  r  r   r  r  ra   re   s   &          r   test_startswith_with_start_end*TestUnicode.test_startswith_with_start_endU  s    2V1
 (-
///AQsVQrUA1u=L&5
BB!%R.1TF::E#E#rN3tf<<((5)F).q%)EG  = ; C 0r    c                   R pV P                  \        V4      ;_uu_ 4        \        \        4      pV! RR4       RRR4       RpV P                  \        V4      ;_uu_ 4        \        \        4      pV! RRR4       RRR4       RpV P                  \        V4      ;_uu_ 4        \        \
        4      pV! RR^ R4       RRR4       R#   + '       g   i     L; i  + '       g   i     Lh; i  + '       g   i     R# ; i)	z9The arg 'prefix' should be a string or a tuple of stringsr  r  Nz:When specified, the arg 'start' must be an Integer or Nonezinvalid startz8When specified, the arg 'end' must be an Integer or Nonezinvalid end)r  r  )assertRaisesRegexr   r   r   r   r   )r1  msg_invalid_prefixrB  msg_invalid_startmsg_invalid_ends   &    r   &test_startswith_exception_invalid_args2TestUnicode.test_startswith_exception_invalid_argsg  s    G 	##K1CDD+,E'9% E
 I 	##K1BCC;<E'41 D
 G 	##KAA:;E'4M2 BA ED DC BAAs#   C	"C$C/	C	C,	/D 	c           	        \         p\        V4      p. ROp. R	OpRR.pV\        ,            FS  pRRVRR
 VR,          WfV,           .pWG,           V,            F%  pVR3p	V P                  V! Wi4      V! Wi4      4       K'  	  KU  	  R# )r  r   r  r  r  r)   Nr  r  r  r  r  )
r1  rA  rB  r  r  r  r   r  sub_strr  s
   &         r   test_startswith_tuple!TestUnicode.test_startswith_tuplez  s    #V1
 (-
///AQsVQrUA1u=L'6CC!4  !2!&q!13 D 0r    c                   \         p\        V4      p. ROp. R	OpRR.pV\        ,            F  pRRVRR
 VR,          WfV,           .pWG,           V,            Fo  p\        \	        R^4      4      R.,            FK  p	\        \	        R^4      4      R.,            F'  p
VR3pV P                  V! WkW4      V! WkW4      4       K)  	  KM  	  Kq  	  K  	  R# )r  r   r  r  r  r)   Nr  r  r  r  r  r  )r1  rA  rB  r  r  r  r   r  r  ra   re   r  s   &           r   test_startswith_tuple_args&TestUnicode.test_startswith_tuple_args  s    2V1
 (-
///AQsVQrUA1u=L'6CC!%R.1TF::E#E#rN3tf<<")4((5)F).q%)EG  = ; D 0r    c           
     &   \         p\        V4      p. R	Op. R
OpRR.pV\        ,            Fb  pRRVRR VR,          WfV,           .pWG,           V,            F4  pRp	V P                  V! Wh4      V! Wh4      V	P	                  Wh4      R7       K6  	  Kd  	  R# )r  r   r  r  r)   Nr  z)Results "{}".endswith("{}") must be equalr  r  r  r  r   r   rF  rG  r  )
r1  rA  rB  r  r  r  r   r  r  r  s
   &         r   test_endswith_default!TestUnicode.test_endswith_default  s    !V 2
 (-
///AQsVQrUA1u=L'6CCA  !3U15F%(ZZ%; ! = D 0r    c                t   \         p\        V4      p. R	Op. R
OpRR.pV\        ,            F  pRRVRR VR,          WfV,           .pWG,           V,            F[  p\        \	        R^4      4      R.,            F7  p	Rp
V P                  V! WhV	4      V! WhV	4      V
P                  WhV	4      R7       K9  	  K]  	  K  	  R# )r  r   r  r  r)   Nr  z-Results "{}".endswith("{}", {}) must be equalr  r  r  r  r  )r   r   rF  r  r  rG  r  )r1  rA  rB  r  r  r  r   r  r  ra   r  s   &          r   test_endswith_with_start$TestUnicode.test_endswith_with_start  s    1V 2
 (-
///AQsVQrUA1u=L'6CC!%R.1TF::EIC$$VA%>%*1u%=),A)F % H ; D 0r    c                   \         p\        V4      p. R	Op. R
OpRR.pV\        ,            F  pRRVRR VR,          WfV,           .pWG,           V,            F  p\        \	        R^4      4      R.,            F[  p	\        \	        R^4      4      R.,            F7  p
RpV P                  V! WhW4      V! WhW4      VP                  WhW4      R7       K9  	  K]  	  K  	  K  	  R# )r  r   r  r  r)   Nr  OResults "{}".endswith("{}", {}, {})                               must be equalr  r  r  r  r  r   r   rF  r  r  rG  r  )r1  rA  rB  r  r  r  r   r  r  ra   re   r  s   &           r   test_endswith_with_start_end(TestUnicode.test_endswith_with_start_end  s    0V 2
 (-
///AQsVQrUA1u=L'6CC!%R.1TF::E#E#rN3tf<<.((E)G).q5)F-0ZZE-O ) Q  = ; D 0r    c           
     .   \         p\        V4      p. R
Op. ROpRR.pV\        ,            Ff  pRRVRR VR,          WfV,           .pWG,           V,            F8  pRp	VR3p
V P                  V! Wj4      V! Wj4      V	P	                  Wj4      R	7       K:  	  Kh  	  R# )r  r   r  r  r  r)   Nr  z'Results "{}".endswith({}) must be equalr  r  r  r  r  )r1  rA  rB  r  r  r  r   r  r  r  
tuple_subss   &          r   test_endswith_tupleTestUnicode.test_endswith_tuple  s    !V 2
 (-
///AQsVQrUA1u=L'6CC?%t_
  !6!&q!5%(ZZ%> ! @ D 0r    c                   \         p\        V4      p. R
Op. ROpRR.pV\        ,            F  pRRVRR VR,          WfV,           .pWG,           V,            F  p\        \	        R^4      4      R.,            F_  p	\        \	        R^4      4      R.,            F;  p
RpVR3pV P                  V! WlW4      V! WlW4      VP                  WlW4      R	7       K=  	  Ka  	  K  	  K  	  R# )r  r   r  r  r  r)   Nr  r  r  r  r  r  r  r  )r1  rA  rB  r  r  r  r   r  r  ra   re   r  r  s   &            r   test_endswith_tuple_args$TestUnicode.test_endswith_tuple_args  s    0V 2
 (-
///AQsVQrUA1u=L'6CC!%R.1TF::E#E#rN3tf<<.&-t_
((u)J).qe)I-0ZZ8=.D ) E	  = ; D 0r    c                    \         p\        V4      p\         FW  pR RVRRR1,          VRR VR,          WDV,           .pV F+  pV P                  V! Wd4      V! Wd4      RV: RV: R24       K-  	  KY  	  R# )	r   xxNr  'z' in ''?r]  r  )rK   r   rF  rG  )r1  rI  rA  rB  rO  extrassubstrs   &&     r   test_inTestUnicode.test_in  sr    V!A$$B$3B2q5AF   !2!&v!14:A!>@ ! "r    c                Z   V P                  4        \        p\        V4      pW3 FW  pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       V P                  R\        XP                  4      4       KY  	  \        P                  \        P                  3pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       RP                  V4      pV P                  V\        XP                  4      4       R#   + '       g   i     L; i  + '       g   i     L[; irO  r   Nempty separatorz"sep" must be {}, not none)disable_leak_checkrY   r   r  
ValueErrorr  r  r  r   UnicodeTypeUnicodeCharSeqr   r  r1  rA  rB  funcr  r  r  s   &      r   $test_partition_exception_invalid_sep0TestUnicode.test_partition_exception_invalid_sep  s    !"V OD"":..&S" /MM+S1A1A-BC $
  ++U-A-AB{++v#t ,*11.Ac3v//01 /.
 ,+   
D=
DDD*	c           	         \         p\        V4      p. ROpRpV F4  w  rVV P                  V! WV4      V! WV4      VP                  WV4      R7       K6  	  R# )r   z-Results of "{}".partition("{}") must be equalr  N	r      ⚡abcabcr     🐍⚡r     🐍⚡🐍r  abababarO  r  rP  r  r   r  abr  aba)rY   r   rG  r  r1  rA  rB  CASESr  r   rX   s   &      r   test_partitionTestUnicode.test_partition'  sU    "V

 >FAVA^U1]!$A!3  5 r    c                n   \         p\        V4      p\         Uu. uF  qDR RVRR VR,          V.3NK  	  ppR. RO3R. RO3RR.3RR.3RR.3R. RO3RRR.3RR.3RR.3RR	.3.
pWV,            F?  w  rGV F4  pR
p	V P                  V! WH4      V! WH4      V	P	                  WH4      R7       K6  	  KA  	  R# u upi )r   r  Nr  rO     Ă   􀌄u   Ă􀌄a_   Ă_z%Results "{}".find("{}") must be equalr  r  daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaauf   aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaĂr	  u   ȁu   Ġu   Ƞuh   aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa􀌄r
  u   􀈄u   􂀄   ĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂ   ĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂa  􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄a  􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄Ă)r	  r
     aĂu   a􀌄   ĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂa_  􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄a_  􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄Ă_)r]   r   rF  rG  r  )
r1  rI  rA  rB  r   r  r  subsr  r  s
   &&        r   	test_findTestUnicode.test_find;  s   V 8H
7G!T1Sb61R5!,-7G 	 
 "#KL% (6 7!C5)%u-*XJ7JKl,>?@"TF+&/+i[9
 $22GA=  !3U15F%(ZZ%; ! =   3%
s   B2c                "   \         p\        V4      p\         Fs  pR RVRR VR,          V3 F[  p\        \	        R^4      4      R.,            F7  pRpV P                  V! W4V4      V! W4V4      VP                  W4V4      R7       K9  	  K]  	  Ku  	  R# )r   r  Nr  z)Results "{}".find("{}", {}) must be equalr  r  r  )rb   r   rF  r  r  rG  r  r1  rA  rB  r   r  ra   r  s   &      r   test_find_with_start_only%TestUnicode.test_find_with_start_onlyW  s    -V!AafaeQ7!%R.1TF::EEC$$VA%>%*1u%=),A)F % H ; 8 "r    c                >   \         p\        V4      p\        \        R^4      4      R.,           ;r4\         Fc  pRRVRR VR,          V3 FK  p\        W44       F9  w  rxRp	V P                  V! WVWx4      V! WVWx4      V	P                  WVWx4      R7       K;  	  KM  	  Ke  	  R# )	   Nr   r  r  z0Results of "{}".find("{}", {}, {}) must be equalr  r  r  )rf   r   r  r  rF  r   rG  r  
r1  rA  rB  startsendsr   r  ra   re   r  s
   &         r   test_find_with_start_end$TestUnicode.test_find_with_start_endc  s    ,VU3^,v55!AafaeQ7")&"7JELC$$VA%C%*1u%B),A)K % M #8 8 "r    c           	     r   \         p\        V4      p\        P                  \        P                  3pR Fl  w  rEpV P                  \        4      ;_uu_ 4       pV! RRWE4       RRR4       RP                  Wc4      pV P                  V\        XP                  4      4       Kn  	  R#   + '       g   i     LL; i皙?asciisciNz"{}" must be {}, not float))r(     ra   )r         ?re   )rf   r   r   r  NoneTyper  r   r  r  r  r  )	r1  rA  rB  acceptedra   re   namer  r  s	   &        r   (test_find_exception_noninteger_start_end4TestUnicode.test_find_exception_noninteger_start_endp  s    ,VMM5>>2 DE"";//6gue1 0.55dECMM#s6#3#345	 !E//s   B&&B6c                Z   V P                  4        \        p\        V4      pW3 FW  pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       V P                  R\        XP                  4      4       KY  	  \        P                  \        P                  3pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       RP                  V4      pV P                  V\        XP                  4      4       R#   + '       g   i     L; i  + '       g   i     L[; ir  )r  ri   r   r  r  r  r  r  r   r  r  r   r  r  s   &      r   %test_rpartition_exception_invalid_sep1TestUnicode.test_rpartition_exception_invalid_sep{  s    !#V OD"":..&S" /MM+S1A1A-BC $
  ++U-A-AB{++v#t ,*11.Ac3v//01 /.
 ,+r  c           	         \         p\        V4      p. ROpRpV F4  w  rVV P                  V! WV4      V! WV4      VP                  WV4      R7       K6  	  R# )r   z.Results of "{}".rpartition("{}") must be equalr  Nr  )ri   r   rG  r  r  s   &      r   test_rpartitionTestUnicode.test_rpartition  sU    #V

 ?FAVA^U1]!$A!3  5 r    c                    \         p\        V4      pR p\         F7  w  rEV! WE4      pV! WE4      pV P                  WgVP	                  WEWg4      4       K9  	  R# )z6'{0}'.py_count('{1}') = {2}
'{0}'.c_count('{1}') = {3}N)rm   r   UNICODE_COUNT_EXAMPLESrG  r  )r1  rA  rB  	error_msgr   sub	py_resultc_results   &       r   
test_countTestUnicode.test_count  sT    VM	,FAqIQ}HY&--aiJL -r    c                T   \         p\        V4      pR : RR: 2p\         F  w  rE\        R^4       F8  pV! WEV4      pV! WEV4      pV P	                  WxVP                  WEWgV4      4       K:  	  V! WER4      pV! WER4      pV P	                  WxVP                  WERVV4      4       K  	  R# )z '{0}'.py_count('{1}', {2}) = {3}
z'{0}'.c_count('{1}', {2}) = {4}N)ro   r   r9  r  rG  r  )	r1  rA  rB  r:  r   r;  r:   r<  r=  s	   &        r   test_count_with_start!TestUnicode.test_count_with_start  s    )V B AC	 -FA3^"11-	 +  !*!1!1!!2:"<= $ qt,IQT*HY&--adI.689 -r    c                
   \         p\        V4      pR : RR: 2p\         F  w  rE\        \	        R^4      R4       F;  w  rgV! WEWg4      pV! WEWg4      p	V P                  WVP                  WEWgVV	4      4       K=  	  \	        R^4       F;  pV! WERV4      pV! WERV4      p	V P                  WVP                  WERWxV	4      4       K=  	  V! WERR4      pV! WERR4      p	V P                  WVP                  WERRVV	4      4       K  	  R# )%'{0}'.py_count('{1}', {2}, {3}) = {4}rA  z$'{0}'.c_count('{1}', {2}, {3}) = {5}NrB  )rB     )rr   r   r9  r   r  rG  r  )
r1  rA  rB  r:  r   r;  r:   jr<  r=  s
   &         r   test_count_with_start_end%TestUnicode.test_count_with_start_end  s    -V G FH	 -FAc2	:"110	 .  !*!1!1!!	2:"<= ; 3^"143	 q1  !*!1!1!$2:"<= $ qtT2IQT40HY&--adD).689# -r    c                   \        \        4      pV P                  \        4      ;_uu_ 4       pV! R R^R4       RRR4       V P	                  R\        XP                  4      4       V P                  \        4      ;_uu_ 4       pV! R RR^4       RRR4       V P	                  R\        VP                  4      4       V P                  \        4      ;_uu_ 4       pV! R ^^^4       RRR4       V P	                  R\        VP                  4      4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     L]; i)r)  r   r,  N,The slice indices must be an Integer or Noneg333333?z(The substring must be a UnicodeType, not)r   rr   r  r   r  r  r  r1  rB  r  s   &  r   test_count_arg_type_check%TestUnicode.test_count_arg_type_check  s    12{++v'33' ,D&**+	- {++v'3Q' ,D&**+	- {++v'2q!$ ,@&**+	- ,+
 ,+
 ,+s#   DD'D:D$	'D7	:E
	c                  a \         oV3R  lpV P                  \        4      ;_uu_ 4       pV! RRRR4       RRR4       V P                  R\	        XP
                  4      4       R: RR: 2p\        P                  ! \        P                  \        P                  \        P                  ! \        P                  4      \        P                  ! \        P                  4      4      p\        V.4      ! S4      pS! RR^ ^4      pV! RR^ ^4      pV P                  WgVP                  RR^ ^VV4      4       R#   + '       g   i     EL; i)	c                    < \         P                  ! \         P                  \         P                  \         P                  ! \         P                  4      \         P                  ! \         P                  4      4      p\        V.4      ! S4       R # r'   )r   int64unicode_typeOptionalfloat64r   )argsbad_sigrA  s   * r   try_compile_bad_optionalPTestUnicode.test_count_optional_arg_type_check.<locals>.try_compile_bad_optional  sS    kk%"4"4"'"4"4"'.."?"'.."?AG 'OF#r    	   tú quis?u   tú皙?NrL  rF  rA  z''{0}'.c_count_op('{1}', {2}, {3}) = {5})rr   r  r   r  r  r  r   rR  rS  rT  r   rG  r  )	r1  rX  r  r:  sig_optionalcfunc_optionalr<  r=  rA  s	   &       @r   "test_count_optional_arg_type_check.TestUnicode.test_count_optional_arg_type_check  s   -	$ {++v$[%cB ,D&**+	- !H IK	{{5#5#5#(#5#5#(>>%++#>#(>>%++#>@ |n-f5;q!4	!+ua;"))+uaI*24	5 ,++s   D66E	c                x   \         p\        V4      p\         Uu. uF  q3R RVRR VR,          V.3NK  	  ppR. RO3R. RO3RRR .3RR.3RR.3RR.3R. RO3RRR	.3RR
.3RR
.3RR.3.pWE,            F?  w  r6V F4  pRpV P                  V! W74      V! W74      VP	                  W74      R7       K6  	  KA  	  R# u upi )r   r  Nr  r	  rO  r
  abcdefghiabcabcu   􀌄Ă_a   _Ăz&Results "{}".rfind("{}") must be equalr  r  r  uf   Ăaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar  uh   􀌄aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar  r     aĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂ  a􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄  Ă􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄)r	  r
  u   Ăau   􀌄a   _aĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂĂ  _a􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄  _Ă􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄􀌄)rw   r   rF  rG  r  	r1  rA  rB  r   r  r  r  r  r  s	   &        r   
test_rfindTestUnicode.test_rfind
  s   V 8H
7G!T1Sb61R5!,-7G 	 
 "#KL% (6 7eR[)!C5)%u-*XJ7JKl,>?@"TF+&/+i[9
 $22GA>  !3U15F%(ZZ%; ! =   3'
s   B7c                "   \         p\        V4      p\         Fs  pR RVRR VR,          V3 F[  p\        \	        R^4      4      R.,            F7  pRpV P                  V! W4V4      V! W4V4      VP                  W4V4      R7       K9  	  K]  	  Ku  	  R# )r   r  Nr  z*Results "{}".rfind("{}", {}) must be equalr  r  r  )ry   r   rF  r  r  rG  r  r  s   &      r   test_rfind_with_start_only&TestUnicode.test_rfind_with_start_only'  s    .V!AafaeQ7!%R.1TF::EFC$$VA%>%*1u%=),A)F % H ; 8 "r    c                v   \         p\        V4      p\        \        R^4      4      R.,           p\        \        R^4      4      R.,           p\         Fc  pRRVRR VR,          V3 FK  p\        W44       F9  w  rxRp	V P                  V! WVWx4      V! WVWx4      V	P                  WVWx4      R7       K;  	  KM  	  Ke  	  R# )	r   Nr   r  r  z1Results of "{}".rfind("{}", {}, {}) must be equalr  r  r  )r{   r   r  r  rF  r   rG  r  r!  s
   &         r   test_rfind_with_start_end%TestUnicode.test_rfind_with_start_end3  s    -VeCn%.E#rN#tf,!AafaeQ7")&"7JEMC$$VA%C%*1u%B),A)K % M #8 8 "r    c           	     Z   \        \        4      p\         F~  pR Fu  pV P                  \        4      ;_uu_ 4       pV! W#4       R R R 4       RP                  \        P                  4      pV P                  V\        XP                  4      4       Kw  	  K  	  R #   + '       g   i     L^; i)N
must be {})Nr  F)r   rw   rF  r  r   r  r   r  r  r  r  )r1  rB  r   r  r  r  s   &     r   test_rfind_wrong_substr#TestUnicode.test_rfind_wrong_substrA  sv    ]#!A+&&{33v!% 4"))%*;*;<c3v'7'7#89	 , "33s   	B	B*c                   \        \        4      p\        P                  \        P                  3p\
         EF  pR RVRR	 VR,          V3 EF   p\        RR.R
^.4       Fj  w  rVV P                  \        4      ;_uu_ 4       pV! W4WV4       RRR4       RP                  V4      pV P                  V\        XP                  4      4       Kl  	  \        R
^.RR.4       Fj  w  rVV P                  \        4      ;_uu_ 4       pV! W4WV4       RRR4       RP                  V4      pV P                  V\        XP                  4      4       Kl  	  EK  	  EK  	  R#   + '       g   i     L; i  + '       g   i     Li; i)r   r  Nr  r(  Fz"start" must be {}Tz"end" must be {}r  r]  g)r   r{   r   r  r-  rF  r   r  r   r  r  r  r  )	r1  rB  r  r   r  ra   re   r  r  s	   &        r   test_rfind_wrong_start_end&TestUnicode.test_rfind_wrong_start_endK  s-   12--8!!AafaeQ7")3,Q"@JE**;776a%5 8.55nECMM#s6+;+;'<=	 #A #*2q'D$<"@JE**;776a%5 8,33NCCMM#s6+;+;'<=	 #A 8 " 87 87s   
E?
E*E'*E:c                8   \         ^ ,          pV^R p\        P                  \        P                  3pRP	                  V4      pR pV P                  \        4      ;_uu_ 4       pV! WR^4       RRR4       V P                  V\        XP                  4      4       R pV P                  \        4      ;_uu_ 4       pV! W^R4       RRR4       V P                  V\        VP                  4      4       R#   + '       g   i     L; i  + '       g   i     LJ; i)r   ru  c                  $   \         P                  ! \         P                  \         P                  \         P                  ! \         P                  4      \         P                  ! \         P
                  4      4      p\        V.4      ! \        4       R # r'   )r   rR  rS  rT  rU  intpr   r{   rV  wrong_sig_optionals   * r    try_compile_wrong_start_optionalYTestUnicode.test_rfind_wrong_start_end_optional.<locals>.try_compile_wrong_start_optionale  sW    !&U-?-?-2-?-?-2^^EMM-J-2^^EJJ-G"I $%&'CDr    r(  Nc                  $   \         P                  ! \         P                  \         P                  \         P                  ! \         P                  4      \         P                  ! \         P
                  4      4      p\        V.4      ! \        4       R # r'   )r   rR  rS  rT  r}  rU  r   r{   r~  s   * r   try_compile_wrong_end_optionalWTestUnicode.test_rfind_wrong_start_end_optional.<locals>.try_compile_wrong_end_optionalp  sW    !&U-?-?-2-?-?-2^^EJJ-G-2^^EMM-J"L $%&'CDr    r]  )
rF  r   r  r-  r  r  r   r  r  r  )r1  r   r  r  r  r  r  r  s   &       r   #test_rfind_wrong_start_end_optional/TestUnicode.test_rfind_wrong_start_end_optional_  s    QAb'--8!!.1	E {++v,Qa@ ,c3v//01	E {++v*1q#> ,c3v//01 ,+ ,+s   $C6<D	6D		D	c           
     N   \         p\        V4      p\         Uu. uF  q3R VRR
 VR,          V.3NK  	  ppR. RO3RR.3RR.3RR.3RR.3RR.3RR.3.pWE,            F?  w  r6V F4  pRpV P                  V! W74      V! W74      VP	                  W74      R	7       K6  	  KA  	  R# u upi )r   Nr  ra  rO  r	  rc  rd  z'Results "{}".rindex("{}") must be equalr  r  r   defrb  re  rf  rg  rh  ri  rj  )r   r   rF  rG  r  rk  s	   &        r   test_rindexTestUnicode.test_rindex{  s    V 2B
1AAQsVQrUA&'1A 	 
 /0!C5)%u-*XJ7"TF+&/+i[9
 $22GA?  !3U15F%(ZZ%; ! =   3
   B"c           
     N   \         p\        V4      p\         Uu. uF  q3R VRR
 VR,          V.3NK  	  ppR. RO3RR.3RR.3RR.3RR.3RR.3RR.3.pWE,            F?  w  r6V F4  pRpV P                  V! W74      V! W74      VP	                  W74      R	7       K6  	  KA  	  R# u upi )r   Nr  ra  r	  rO  r  r  z&Results "{}".index("{}") must be equalr  r  r  r  r  r  r  r  r  )r   r   rF  rG  r  rk  s	   &        r   
test_indexTestUnicode.test_index  s    V 2B
1AAQsVQrUA&'1A 	 
 /0!C5)%u-*XJ7"TF+&/+i[9
 $22GA>  !3U15F%(ZZ%; ! =   3
r  c                   \         \        .pR R.p. ROp\        W4       EF  w  rE\        V4      pV EF  p\	        V4      pR\        \        RV^,           4      4      3VRR ^ .\        \        R^V,
          4      4      ,           3VR,          \        \        ^4      4      \        \        R^V,
          4      4      ,           3V^ .\        \        R^V,
          4      4      ,           3.p	V	 FH  w  rVR.,            F5  pV P                  V! WzV4      V! WzV4      VP                  WzV4      R7       K7  	  KJ  	  EK	  	  EK!  	  R# )	z*Results "{}".index("{}", {}) must be equalz+Results "{}".rindex("{}", {}) must be equalr   Nr  r  r)  12345
1234567890   ¡Y tú quién te crees?r#   r  )	r   r   r  r   r2   r  r  rG  r  )r1  pyfuncsr  unicode_examplesrA  r  rB  r   r   r  r  r"  ra   s   &            r   !test_index_rindex_with_start_only-TestUnicode.test_index_rindex_with_start_only  s5   013@AC
 w1KFLE%FeCQ/01sVaS4c1q5(9#::;rUDqNT%QU2C-DDEd5a!e#4556	 (-OG!'4&((E)B).q5)A-0ZZE-J ) L "1 (- & 2r    c                V   \         \        .pR R.p. ROp\        W4       EF  w  rE\        V4      pV EFl  p\	        V4      pR\        \        RV^,           4      4      \        \        V^
4      4      3VRR ^ .\        \        R^V,
          4      4      ,           RR	.\        \        V^,
          ^
4      4      ,           3VR,          \        \        ^4      4      \        \        RR	4      4      ,           \        \        V^
4      4      3V^ .\        \        R^V,
          4      4      ,           \        \        V^
4      4      3.p	V	 FU  w  rp\        VR.,           V4       F7  w  rV P                  V! WzW4      V! WzW4      VP                  WzW4      R7       K9  	  KW  	  EKo  	  EK  	  R# )
z1Results of "{}".index("{}", {}, {}) must be equalz2Results of "{}".rindex("{}", {}, {}) must be equalr   Nr  r  r  r  r  r]  )
r   r   r  r   r2   r  r  r   rG  r  )r1  r  r  r  rA  r  rB  r   r   r  r  r"  r#  ra   re   s   &              r    test_index_rindex_with_start_end,TestUnicode.test_index_rindex_with_start_end  s   /1NOGHJ
 w1KFLE%FeCQ/0$uQ|2DEsVaS4c1q5(9#::"XU1q5"%5 668rUDqNT%R.-AA%2,')d5a!e#455tE!RL7IJ .3)GT&-fvot&D
((E)G).q5)F-0ZZE-O ) Q 'E .3 & 2r    c                   V P                  4        . ROp\        \        .pV EF  p\        V4      pV EF  p\	        V4      pR\        \        V^,           ^
4      4      V.3VRR ^ .\        \        V^,
          4      4      3VR,          \        \        ^^
4      4      V.3VR.\        \        V4      4      3.pV Fz  w  rp
\        W4       Fe  w  rW43 FY  pV P                  \        4      ;_uu_ 4       pV! WXW4       RRR4       RpV P                  V\        XP                  4      4       K[  	  Kg  	  K|  	  EK
  	  EK   	  R#   + '       g   i     LO; i)r)  r   Nr  zsubstring not foundr  r  )r  r   r   r   r2   r  r  r   r  r  r  r  r  )r1  r  r  rA  rB  r   r   r  r  r"  r#  ra   re   r  r  r  s   &               r   /test_index_rindex_exception_substring_not_found;TestUnicode.test_index_rindex_exception_substring_not_found  s1   !
 01NOFLE%FeAE2./!5sVaS$uQU|"45rUDq".4U1X/	 .3)GT&-f&;
%+OD!%!2!2:!>!>& $Q < "?"7C MM#s63C3C/DE	 %4 '< .3 &  "?!>s   6
EEc           
        \         P                  \         P                  3p\        \        .pV F  p\        V4      pR Fl  w  rVpV P                  \        4      ;_uu_ 4       pV! RRWV4       RRR4       RP                  Wq4      p	V P                  V	\        XP                  4      4       Kn  	  K  	  R#   + '       g   i     LP; ir'  )r   r  r-  r   r   r   r  r   r  r  r  r  )
r1  r.  r  rA  rB  ra   re   r/  r  r  s
   &         r   0test_index_rindex_exception_noninteger_start_end<TestUnicode.test_index_rindex_exception_noninteger_start_end  s    MM5>>2/1NOFLE$H D&&{33v'5%5 4299$Ic3v'7'7#89	 %I  43s   "B5	5Cc           	         \         p\        V4      p\         FP  p\        \	        V4      ) \	        V4      4       F*  pV P                  V! W44      V! W44      R W43,          4       K,  	  KR  	  R# )	'%s'[%d]?N)r;   r   rF  r  r2   rG  )r1  rA  rB  r   r:   s   &    r   test_getitemTestUnicode.test_getitem  sZ     V!ACF7CF+  !&q!,v!57 , "r    c           	         \         p\        V4      pR R.pV FP  p\        \        V4      ) \        V4      4       F*  pV P	                  V! WE4      V! WE4      RWE3,          4       K,  	  KR  	  R# )u   aሴu   ¡着r  N)r>   r   r  r2   rG  )r1  rA  rB  samplesr   r:   s   &     r   test_getitem_scalar_kind$TestUnicode.test_getitem_scalar_kind  sf     ,Vg&ACF7CF+  !&q!,v!57 , r    c           	     "   V P                  4        \        p\        V4      p\         F  pV P	                  \
        4      ;_uu_ 4       pV! V\        V4      4       R R R 4       V P                  R\        XP                  4      4       V P	                  \
        4      ;_uu_ 4       pV! V\        V4      4       R R R 4       V P                  R\        VP                  4      4       K  	  R #   + '       g   i     L; i  + '       g   i     LN; i)Nzstring index out of range)
r  r;   r   rF  r  
IndexErrorr2   r  r  r  )r1  rA  rB  r   r  s   &    r   test_getitem_errorTestUnicode.test_getitem_error#  s    ! V!A"":..&q#a&! /MM5s6;K;K7LM"":..&aQ  /MM5s6;K;K7LM ".. /.s   C+%C>+C;>Dc                d   \         p\        V4      p\         F  p\        \	        \        V4      ) \        V4      4      4       Fe  p\        \	        \        V4      ) \        V4      4      4       F6  p\        WE4      pV P                  V! W64      V! W64      R W4V3,          4       K8  	  Kg  	  K  	  R# )'%s'[%d:%d]?N)r;   r   rF  r  r  r2   slicerG  r1  rA  rB  r   r:   rH  sls   &      r   test_slice2TestUnicode.test_slice22  s     V!A%QQ01eSVGSV45AqB$$VA]%*1\%3qQi%?A 6 2 "r    c                @   \         p\        V4      p\         F  pRR\        V4      \        V4      ^,           3 F\  pRR\        V4      \        V4      ^,           3 F6  p\	        WE4      pV P                  V! W64      V! W64      RW4V3,          4       K8  	  K^  	  K  	  R# )   r  Nr  r]  r;   r   rF  r2   r  rG  r  s   &      r   test_slice2_errorTestUnicode.test_slice2_error>  s     V!A"c!fc!fqj1b#a&#a&1*5AqB$$VA]%*1\%3qQi%?A 6 2 "r    c                L   \         p\        V4      pR R.pV F  pRR^ ^^\        V4      \        V4      ^,           3 F_  pRR^ ^^\        V4      \        V4      ^,           3 F6  p\        WV4      pV P	                  V! WG4      V! WG4      RWEV3,          4       K8  	  Ka  	  K  	  R# )	   abcሴሴu   ¡¡¡着着着r  Nr  r]  )r>   r   r2   r  rG  )r1  rA  rB  r  r   r:   rH  r  s   &       r   test_getitem_slice2_kind$TestUnicode.test_getitem_slice2_kindJ  s     ,V$&78A"aAs1vs1vz:b!Q3q63q6A:>AqB$$VA]%*1\%3qQi%?A ? ; r    c                T   \         p\        V4      p\         F  p\        \	        V4      ) \	        V4      4       Ff  p\        \	        V4      ) \	        V4      4       F@  pR F7  p\        WEV4      pV P                  V! W74      V! W74      RW4WV3,          4       K9  	  KB  	  Kh  	  K  	  R# )r  '%s'[%d:%d:%d]?Nr  r]  r  r  )r;   r   rF  r  r2   r  rG  r1  rA  rB  r   r:   rH  kr  s   &       r   test_slice3TestUnicode.test_slice3X  s     V!ACF7CF+AwA/A+"1^(().q):aA\)IK , 0 , "r    c                T   \         p\        V4      p. ROpV F  p\        \        V4      ) \        V4      4       Ff  p\        \        V4      ) \        V4      4       F@  pR F7  p\	        WVV4      pV P                  V! WH4      V! WH4      RWEWg3,          4       K9  	  KB  	  Kh  	  K  	  R# )r  r  N)r  u   aሴbሴc¡¡¡着着着u   ¡着¡着¡着u   着a着b着cu   ¡着a¡着b¡着cu   ¡着a着¡cr  )r>   r   r  r2   r  rG  )	r1  rA  rB  r  r   r:   rH  r  r  s	   &        r   test_getitem_slice3_kind$TestUnicode.test_getitem_slice3_kinde  s     ,V$ ACF7CF+AwA/A+"1^(().q):aA\)IK , 0 , r    c                T   \         p\        V4      p\         F  pRR\        V4      \        V4      ^,           3 Ff  pRR\        V4      \        V4      ^,           3 F@  pR F7  p\	        WEV4      pV P                  V! W74      V! W74      RW4WV3,          4       K9  	  KB  	  Kh  	  K  	  R# )r  r  Nr  r]  r  r  r  s   &       r   test_slice3_errorTestUnicode.test_slice3_errorz  s     V!A"c!fc!fqj1b#a&#a&1*5A+"1^(().q):aA\)IK , 6 2 "r    c                R    \         R 4       pRpV P                  V! V4      R4       R# )zk
Make sure ascii flag is False when ascii and non-ascii characters are
mixed in output of Unicode slicing.
c                 N    V R ,          P                   V R,          P                   3# )NNr  :r  Nr  	_is_asciir   s   &r   f,TestUnicode.test_slice_ascii_flag.<locals>.f  s!    S6##QtW%6%666r    u    ¿abc¡Y tú, quién te cre		es?N)r   r  r   rG  r1  r  r   s   &  r   test_slice_ascii_flag!TestUnicode.test_slice_ascii_flag  s1    
 
	7 
	7 11v&r    c           	        \         p\        V4      p. ROpV P                  \        4      ;_uu_ 4       pV! V^ ,          R4       RRR4       V P	                  R\        XP                  4      4       V F4  p\        R^4       F!  pV P                  V! WV4      V! WV4      4       K#  	  K6  	  R#   + '       g   i     Lq; i)r)  r[  Nz<width> must be an Integer)r)  z+asciiz-asciiz-asc ii-r  z-12345z+12345r   u   ¡Y tú crs?r  u   +🐍⚡u   -🐍⚡u   大眼，小手。u   +大眼，小手。u   -大眼，小手。)	rA   r   r  r   r  r  r  r  rG  )r1  rA  rB  ZFILL_INPUTSr  r   widths   &      r   
test_zfillTestUnicode.test_zfill  s    V
$ {++v,q/3' ,2C8H8H4IJAr2  !1!&q2 ' 	 ,+s   B--B=	c                    \         p\        V4      p\         FB  p\        R R R1,           F+  pV P                  V! WE4      V! WE4      RV: RV: R24       K-  	  KD  	  R # Nr  z' + 'r  r]  )rD   r   rF  rG  rN  s   &&    r   test_concatTestUnicode.test_concat  sS    V!A%dd++  !&q34a!8: , "r    c           	         \         p\        V4      p\         FH  pR F?  pV P                  V! WE4      V! WE4      4       V P                  V! WT4      V! WT4      4       KA  	  KJ  	  R# )r  N)r]  r   r  r  r     r+           F   )rG   r   rF  rG  rN  s   &&    r   test_repeatTestUnicode.test_repeat  sZ    V!A9  !&q.  !&q. : "r    c                (   V P                  4        \        \        4      pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       V P                  \        R,           \        XP                  4      4       R#   + '       g   i     LB; i)hig      @Nz" Function(<built-in function mul>))	r  r   rG   r  r   r  r   r  r  rM  s   &  r   test_repeat_exception_float'TestUnicode.test_repeat_exception_float  se    !^${++v$ ,l%II&**+	- ,+s   
BB	c                *   V P                  4        \        p\        V4      pW3 FW  pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       V P                  R\        XP                  4      4       KY  	  R#   + '       g   i     L;; irO  r   Nr  )r  r   r   r  r  r  r  r  r1  rA  rB  r  r  s   &    r   test_split_exception_empty_sep*TestUnicode.test_split_exception_empty_sep  sl    !V OD"":..&S" /MM+S1A1A-BC $..   
BBc                   \         p\        V4      pR F`  pV P                  \        4      ;_uu_ 4       pV! RVR4       RRR4       V P	                  R\        XP                  4      RV,          4       Kb  	  R#   + '       g   i     LC; i)r  NrO  r  rU  z"non-integer maxsplit with sep = %sr  N)r   r   r  r   r  r  r  )r1  rA  rB  rX   r  s   &    r   (test_split_exception_noninteger_maxsplit4TestUnicode.test_split_exception_noninteger_maxsplit  sk    ,V C"";//6c3$ 0MM)S)9)9%:>DF //s   A::B
c           
         \         p\        V4      p. ROpV F-  w  rEV P                  V! WE4      V! WE4      RV: RV: R24       K/  	  R# ) a Nr  z	'.split('')?
)r  Nr  r  r  r  r  r  r  r   r  )r   r   rG  )r1  rA  rB  r  test_strsplitters   &     r   
test_splitTestUnicode.test_split  sL    V
 #(HVH7"864<hGI #(r    c           
         . ROp\         R3\        R33 FE  w  r#\        V4      pV F/  w  rVpV P                  V! WVV4      V! WVV4      W5Wg3,          4       K1  	  KG  	  R# )r  Nz'%s'.split('%s', %d)?z'%s'.split('%s', maxsplit=%d)?
)r  Nr  )r   r  r  )r  r  r  )r  r  r  )r  r  r  )r  rO  r  )r  rP  r  )r  r   r  )r  r  r  )r  r  r+  )r   r   r   rG  )r1  r  rA  fmt_strrB  r  r  r   s   &       r   test_split_with_maxsplit$TestUnicode.test_split_with_maxsplit  sy    
 "=!8!:!B!A!C DOF
 LE05,H  H!E!&x8!D!(h+I!IK 16 Dr    c                    \         p\        V4      pR P                  \        \        . RO4      4      pR RRRRRRV,           R,           .pV F'  pV P                  V! V4      V! V4      RV: R	24       K)  	  R
# )r   r     🐍 ⚡   🐍 ⚡ 🐍   🐍   ⚡ 🐍       🐍   ⚡ 🐍    🐍
   ⚡ 🐍  r  z
'.split()?N	   
                                  i  i    i   i   i   i   i   i   i   i   i	   i
   i(   i)   i/   i_   i 0  )r   r   r   mapr*  rG  )r1  rA  rB  all_whitespacer  r  s   &     r   test_split_whitespace!TestUnicode.test_split_whitespace  s     *V S +
 "  n$|3
 HVH-"8_08:< r    c                   \         p\        V4      p\        P                  \        \        P
                  \        3pR Fj  w  rEV P                  \        4      ;_uu_ 4       pV! RV4       RRR4       RP                  W44      pV P                  V\        XP                  4      4       Kl  	  R#   + '       g   i     LL; i)noneNrA  z"keepends" must be {}, not {}))r  N)rS  None)r   r   r   r  r  Booleanr6   r  r   r  r  r  r  )r1  rA  rB  r  tyr   r  r  s   &       r   %test_split_exception_invalid_keepends1TestUnicode.test_split_exception_invalid_keepends0  s    1V--emmTBFLB"";//6dH% 0188LCMM#s6#3#345	 G//s    
B..B>c                    \         p\        V4      p. ROpRpV F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )r   z*Results of "{}".splitlines() must be equalr  Nr   rA  z
abcabc
u   🐍⚡u   🐍⚡🐍u    aba babaz

abc)r   r   rG  r  r  s   &     r   test_splitlinesTestUnicode.test_splitlines;  sN    #VM ;AVAYacjjmD r    c           
         \         \        .pR R.p. ROp. ROp\        W4       FS  w  rV\        V4      p\	        W44       F4  w  rV P                  V! W4      V! W4      VP                  W4      R7       K6  	  KU  	  R# )z,Results of "{}".splitlines({}) must be equalz5Results of "{}".splitlines(keepends={}) must be equalr  Nr$  )TFr   r  r]  d   )r   r   r  r   r   rG  r  )
r1  r  r  r  all_keependsrA  r  rB  r   r   s
   &         r   test_splitlines_with_keepends)TestUnicode.test_splitlines_with_keependsF  s    ,2

 ;C
M3w1KFLE&u;  !4eA6H%(ZZ%< ! >  < 2r    c                *   V P                  4        \        p\        V4      pW3 FW  pV P                  \        4      ;_uu_ 4       pV! R R4       RRR4       V P                  R\        XP                  4      4       KY  	  R#   + '       g   i     L;; ir  )r  r   r   r  r  r  r  r  r  s   &    r   test_rsplit_exception_empty_sep+TestUnicode.test_rsplit_exception_empty_sepY  sl    !V OD"":..&S" /MM+S1A1A-BC $..r  c                X   \         p\        V4      p\        P                  \        3pR Fi  pV P                  \        4      ;_uu_ 4       pV! RVR4       RRR4       RP                  V4      pV P                  V\        XP                  4      4       Kk  	  R#   + '       g   i     LL; i)r  NrO  r  z "maxsplit" must be {}, not floatr  )r   r   r   r  r  r  r   r  r  r  r  )r1  rA  rB  r  rX   r  r  s   &      r   )test_rsplit_exception_noninteger_maxsplit5TestUnicode.test_rsplit_exception_noninteger_maxsplite  s|    -V---C"";//6c3$ 04;;NKCMM#s6#3#345	 //s   
BB)c           	         \         p\        V4      p. ROpRpV F4  w  rVV P                  V! WV4      V! WV4      VP                  WV4      R7       K6  	  R# )r  Nz*Results of "{}".rsplit("{}") must be equalr  r  )r   r   rG  r  r  s   &      r   test_rsplitTestUnicode.test_rsplitp  sU    V
 ;FAVA^U1]!$A!3  5 r    c                    \         \        .p. ROpRR.p\        W4       FN  w  rE\        V4      pV F8  w  rxp	V P	                  V! WxV	4      V! WxV	4      VP                  WxV	4      R7       K:  	  KP  	  R# )r  Nz.Results of "{}".rsplit("{}", {}) must be equalz7Results of "{}".rsplit("{}", maxsplit={}) must be equalr  r   )r   r   r  r   rG  r  )
r1  r  r  r  rA  r  rB  r  rX   r   s
   &         r   test_rsplit_with_maxsplit%TestUnicode.test_rsplit_with_maxsplit  s    /57
 =E

 w1KFLE+0'x  x!@!&xh!?%(ZZx%H ! J ,1 2r    c                
   \         p\        V4      pR P                  \        \        . R
O4      4      pR RRRRRRV,           R,           .pRpV F1  pV P                  V! V4      V! V4      VP                  V4      4       K3  	  R	# )r   r  r  r  r  r  r	  r
  z&Results of "{}".rsplit() must be equalNr  )r   r   r   r  r*  rG  r  )r1  rA  rB  r  r  r  r   s   &      r   test_rsplit_whitespace"TestUnicode.test_rsplit_whitespace  s    *V S +
 "  n$|3
 7AVAYa#**Q-@ r    c                    \         p\        V4      pR R.pV F'  pV P                  V! V4      V! V4      RV: R24       K)  	  R# )r      🐍🐍🐍r  z'.join([])?N)r   r   rG  )r1  rA  rB  r  rX   s   &    r   test_join_emptyTestUnicode.test_join_empty  sN     $V 

 CVC["3Z1468 r    c                "   \         p\        V4      pV P                  \        4      ;_uu_ 4       pV! R . RO4       RRR4       \	        XP
                  4      pV P                  RV4       V P                  RV4       R#   + '       g   i     LK; i)r   Nz,During: resolving callee type: BoundFunctionzreflected list(int)r  r  r  )r   r   r  r   r  r  r  )r1  rA  rB  r  exc_messages   &    r   test_join_non_string_exception*TestUnicode.test_join_non_string_exception  sr    V {++v"i  ,
 &**+:	

 	*K8 ,+s   A>>B	c           
         \         p\        V4      pR . RO3R. RO3R . R	O3RR.^,          3.pV F-  w  rEV P                  V! WE4      V! WE4      RV: RV: R24       K/  	  R# )
r   rO  r<     ⚡⚡r  '.join('r  N)r   r   r   )rO  bbbbr   r   r   rG  r1  rA  rB  r  rX   partss   &     r   	test_joinTestUnicode.test_join  st    V ,#$hZ!^,	
  JCVC/"3.36>@  r    c           
         \         p\        V4      pRR.pV F-  w  rEV P                  V! WE4      V! WE4      RV: RV: R24       K/  	  R# )rb  r  rE  r  N)rb  123)r<  rD  rG  rH  s   &     r   test_join_interleave_str$TestUnicode.test_join_interleave_str  sS    V &

  JCVC/"3.36>@  r    c                   \         R 3\        R3\        R33 F  w  r\        V4      pV P	                  \
        4      ;_uu_ 4       pV! \        ^ ,          R4       RRR4       V P                  R\        XP                  4      4       \         F>  p\        R^4       F+  pV P                  V! WV4      V! WV4      RWRV3,          4       K-  	  K@  	  K  	  R#   + '       g   i     L; i)r   r   r  r[  NThe width must be an Integerz'%s'.%s(%d)?r  )r   r   r  r   r  r   rF  r  r  r  r  rG  )r1  rA  	case_namerB  r  r   r  s   &      r   test_justificationTestUnicode.test_justification  s    #18"<#0'":#0'":"<F LE"";//6&q)3/ 0MM8#f>N>N:OP%"2r]E$$VA%5%*1_%3qU6K%KM + &"<
 0/s   CC%c                   \         R 3\        R3\        R33 F  w  r\        V4      pR F  pV P	                  \
        4      ;_uu_ 4       pV! \        ^ ,          RV4       RRR4       V P                  R\        XP                  4      4       \         FA  p\        R^4       F.  pV P                  V! WgV4      V! WgV4      RWbVV3,          4       K0  	  KC  	  K  	  K  	  R#   + '       g   i     L; i)	r   r   r  r[  NrQ  z'%s'.%s(%d, '%s')?)r  +   úu   处r  )r   r   r  r   r  r   rF  r  r  r  r  rG  )r1  rA  rR  rB  r   r  r   r  s   &       r   test_justification_fillchar'TestUnicode.test_justification_fillchar  s    #:H"E#97"C#97"C"EF LE 4&&{33v*1-sH= 4<!&"2"235 *A!&r2((()C).q)B)=AFAIAK *KL "/ * 4"E 43s   
C"	"C2c           	     \   V P                  4        \        \        \        3 F  p\	        V4      pR Fc  pV P                  \        4      ;_uu_ 4       pV! \        ^ ,          ^V4       RRR4       V P                  R\        XP                  4      4       Ke  	  R Fc  pV P                  \        4      ;_uu_ 4       pV! \        ^ ,          ^V4       RRR4       V P                  R\        XP                  4      4       Ke  	  K  	  R#   + '       g   i     L; i  + '       g   i     LR; i)r   Nz&The fill character must be exactly onez"The fillchar must be a UnicodeType)r   z+0u   quiénu   处着)r  r[  )r  r   r   r  r   r  r  rF  r  r  r  r   )r1  rA  rB  r   r  s   &    r   %test_justification_fillchar_exception1TestUnicode.test_justification_fillchar_exception!  s    !.--/F LE ;&&z22f*1-r8< 3F!&"2"235 ; %&&{33v*1-r8< 4B!&"2"235 %/ 32 43s   D	;D	DD+c                    \         p\        V4      p\         FB  p\        R R R1,           F+  pV P                  V! WE4      V! WE4      RV: RV: R24       K-  	  KD  	  R # r  )rI   r   rF  rG  rN  s   &&    r   test_inplace_concatTestUnicode.test_inplace_concat7  sS    'V!A%dd++  !&q34a!8: , "r    c                    R  p\        V4      p. ROp. ROpRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )isidentifierr   s   &r   rA  -TestUnicode.test_isidentifier.<locals>.pyfuncA  s    >>##r    z,Results of "{}".isidentifier() must be equalr   r  N)rO  Zr  b0bcb_   µu   𝔘𝔫𝔦𝔠𝔬𝔡𝔢r  [   ©0   u   u   u   u   abu   abu	   abau	   abar   rF  rG  r  r1  rA  rB  cpythoncpython_extrasr  r   s   &      r   test_isidentifierTestUnicode.test_isidentifier@  sm    	$ VH@ =!RD(72^CCAVAYacjjmD Dr    c                L  a . ROp\         R3\        R3\        R33 FD  w  op\        S4      pV F-  w  rEV P	                  S! V4      V! V4      RV: RV: R24       K/  	  KF  	  \
        R3\        R3\        R33 EF  w  op\        S4      p\        P                  ! \        P                  \        P                  ! \        P                  4      4      p\        V.4      ! S4      pV3R lpW83 FW  p	V P                  \        4      ;_uu_ 4       p
V	! R	R
4       RRR4       V P                  R\        X
P                  4      4       KY  	  W73 F:  p	V F1  w  rEV P	                  S! WE4      V	! WE4      RV: RV: RV: R24       K3  	  K<  	  EK  	  R#   + '       g   i     L; i)ass ciiNr   r   r   r  z'.z()?c                     < \         P                  ! \         P                  \         P                  ! \         P                  4      4      p\	        V.4      ! S4       R # r'   )r   rS  rT  rU  r   )rV  badrA  s   * r   rX  8TestUnicode.test_strip.<locals>.try_compile_bad_optional  s:    ((););).)FHcUF#r    rZ  r[  z%The arg must be a UnicodeType or Nonez('r  ))ru  ai)ru  N)assciiai )zasscii r{  )	 asscii  r{  )r|  zasci )r|  r   )z      r  )r   r  r   r   )r   Nr  )
  asscii  r{  )r~  r   )r~  N)   tú quién te crees?   étú? )     tú quién te crees?   r  )u     tú qrees?   r   )r  N+   大处 着眼，小处着手。大大大处   大处)    大处大处  r   )z	
abcd	z	a)r  N)z	 abcd 	N)z
 abcd 
N)z abcd N)z abcd N)z abcd N)u
    abcd N)u	   abcd N)r   r   r   r   rG  r   r   r   r   rS  rT  r  r   r  r  r  )r1  STRIP_CASESrR  rB  stringr   sig1r]  rX  r  r  rA  s   &          @r   
test_stripTestUnicode.test_stripQ  s   
D $1'":#18"<#18"<">FI LE!,  !&v17!CE "-"> $7"@#7"B#7"B"DFI LE%%e&8&8&+nnU5G5G&HJD!4&\&1N$
 5&&{33v{C( 4E!&"2"235 6 +%0MF$$VF%:%'%69?9>&@A &1 ,)"D 43s   
F	F#c                    R  p\        V4      p. ROp. ROpRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )isspacer   s   &r   rA  (TestUnicode.test_isspace.<locals>.pyfunc      99;r    z'Results of "{}".isspace() must be equalr   r  N)	u    u    u   —   𐐁   𐐧   𐐩   𐑎   🐍   👯rl  rn  ro  s   &      r   test_isspaceTestUnicode.test_isspace  sm    	 VK@ 8!RD(72^CCAVAYacjjmD Dr    c           
         \         p\        V4      pR p\         Uu. uF  qDP                  4       NK  	  pp. ROp\        V,           V,           pV F5  pV! V4      p	V! V4      p
V P	                  WVP                  WV
4      4       K7  	  R# u upi )z0'{0}'.py_istitle() = {1}
'{0}'.c_istitle() = {2}N)r   z    z  AA  z  Ab  1A123A12Bcdz+abA12AbcA12abcu   %^Abc 5 $% Def𐐁𐐩u   𐐧𐑎r  r  u   🐍 Isu   🐍 NOTu   👯Is   ῼu   Greek ῼitlecases ...)r  r   rF  r  rG  r  )r1  rA  rB  r:  r)   unicode_titlespecialISTITLE_EXAMPLESr   r<  r=  s   &          r   test_istitleTestUnicode.test_istitle  s     VG	,<=,<q,<=
, ,m;gE!Aq	IQxHY&--aHEG "3 >s   Bc                    R  p\        V4      p. ROpRp\        V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )isprintabler   s   &r   rA  ,TestUnicode.test_isprintable.<locals>.pyfunc  s    ==?"r    z+Results of "{}".isprintable() must be equalr  N)	r   r  abcdefgzabcdefg
u   ʹu   ͸rm  r  u   󠀠rn  r1  rA  rB  rp  r  r   s   &     r   test_isprintableTestUnicode.test_isprintable  sW    	# V9 <!G++AVAYacjjmD ,r    c                \    R  p\        V4      pR.pV P                  V! V!  V! V!  4       R# )c                     V R ,          # ):NNNr$   rO  s   &r   rA  0TestUnicode.test_pointless_slice.<locals>.pyfunc  s    Q4Kr    rO  Nr  r1  rI  rA  rB  rV  s   &&   r   test_pointless_slice TestUnicode.test_pointless_slice  s/    	Vut5r    c                \    R  p\        V4      pR.pV P                  V! V!  V! V!  4       R# )c                     V R R R1,          # )Nr]  r$   r  s   &r   rA  /TestUnicode.test_walk_backwards.<locals>.pyfunc  s    TrT7Nr    rO  Nr  r  s   &&   r   test_walk_backwardsTestUnicode.test_walk_backwards  s/    	Vut5r    c                \    R  p\        V4      pR.pV P                  V! V!  V! V!  4       R# )c                     V R ,          # )r  r$   r  s   &r   rA  -TestUnicode.test_stride_slice.<locals>.pyfunc  s    S6Mr    rO  Nr  r  s   &&   r   test_stride_sliceTestUnicode.test_stride_slice  s/    	Vut5r    c                ^    R  p\        V4      pRR.pV P                  V! V!  V! V!  4       R# )c                 
    W8  # r'   r$   rO  rP  s   &&r   rA  )TestUnicode.test_basic_lt.<locals>.pyfunc  	    5Lr    r  rP  Nr  r  s   &&   r   test_basic_ltTestUnicode.test_basic_lt  1    	Vc{t5r    c                ^    R  p\        V4      pRR.pV P                  V! V!  V! V!  4       R# )c                 
    W8  # r'   r$   r  s   &&r   rA  )TestUnicode.test_basic_gt.<locals>.pyfunc  r  r    r  rP  Nr  r  s   &&   r   test_basic_gtTestUnicode.test_basic_gt  r  r    c           	         R  p\        V4      p\        \        ^R7       F=  w  r4R F2  pWSV.pV P                  V! V!  V! V!  RP	                  V4      R7       K4  	  K?  	  R# )c                     V R 8X  d   W8H  # V R8X  d   W8g  # V R8X  d   W8  # V R8X  d   W8  # V R8X  d   W8*  # V R8X  d   W8  # R# )==!=<><=>=Nr$   optionr)   r-   s   &&&r   rA  +TestUnicode.test_comparison.<locals>.pyfunc  sY    ~v4v3u3u4v4vr    re  failed on {}r  Nr  r  r  r  r  r  r   )r   r   rg  rG  r  )r1  rA  rB  r)   r-   cmpoprV  s   &      r   test_comparisonTestUnicode.test_comparison   si    	  V !:a@DA?!}  t%3%:%:4%@ ! B @ Ar    c                    R  p\        V4      pR.pV P                  V! V!  V! V!  4       R.pV P                  V! V!  V! V!  4       R# )c                     R p\        V 4      '       d   VR,           V ,           R,           # W,           R,           V ,           # )rb  b123IOrM  r1   )r)   rb  s   & r   rA  /TestUnicode.test_literal_concat.<locals>.pyfunc  s5    C1vvV|a'$..w**r    r)   r   Nr  r1  rA  rB  rV  s   &   r   test_literal_concatTestUnicode.test_literal_concat  sP    	+ Vut5tt5r    c                    R  p\        V4      pR F1  pV.pV P                  V! V!  V! V!  RP                  V4      R7       K3  	  R# )c                     R pRpV R8X  d   W8H  # V R8X  d   W8g  # V R8X  d   W8  # V R8X  d   W8  # V R8X  d   W8*  # V R8X  d   W8  # R# )	a123aa12r  r  r  r  r  r  Nr$   r  s   &  r   rA  3TestUnicode.test_literal_comparison.<locals>.pyfunc(  sc    AA~v4v3u3u4v4vr    r  r  Nr  r   rG  r  )r1  rA  rB  r  rV  s   &    r   test_literal_comparison#TestUnicode.test_literal_comparison'  sP    	$ V;E7DVT]E4L!/!6!6t!<  > <r    c                Z    R  p\        V4      pV P                  V! 4       V! 4       4       R# )c                      \        R 4      # rb  r1   r$   r    r   rA  ,TestUnicode.test_literal_len.<locals>.pyfuncA  s    u:r    Nr  r@  s   &  r   test_literal_lenTestUnicode.test_literal_len@  s$    	V57+r    c                    R  p\        V4      pR^ ^\        ^R4      \        RR4      3 F1  pV.pV P                  V! V!  V! V!  RP                  V4      R7       K3  	  R# )c                     R V ,          # r  r$   )whichs   &r   rA  0TestUnicode.test_literal_getitem.<locals>.pyfuncG  s    <r    Nr  r  r]  )r   r  rG  r  r1  rA  rB  rO  rV  s   &    r   test_literal_getitem TestUnicode.test_literal_getitemF  se    	 VaE!TNE$O<A3DVT]E4L!/!6!6t!<  > =r    c                    R  p\        V4      pR F1  pV.pV P                  V! V!  V! V!  RP                  V4      R7       K3  	  R# )c                     V R 9   # )
9876zabiuhr$   r(   s   &r   rA  +TestUnicode.test_literal_in.<locals>.pyfuncP  s    $$r    r  r  N)rO  9r  r   8uha987r  r  s   &    r   test_literal_inTestUnicode.test_literal_inO  sP    	% V3A3DVT]E4L!/!6!6t!<  > 4r    c                    R  p\        V4      p\        R^R7       F.  pV P                  V! V!  V! V!  RP                  V4      R7       K0  	  R# )c                 F    R P                  V 4      RP                  V4      3# )rb  cde)r   r   r,   s   &&r   rA  0TestUnicode.test_literal_xyzwith.<locals>.pyfuncZ  s!    ##A&q(999r    r  re  r  r  N)r   r   rG  r  r  s   &   r   test_literal_xyzwith TestUnicode.test_literal_xyzwithY  sP    	: V a0DVT]E4L!/!6!6t!<  > 1r    c                    R  p\        V4      pR F1  pV.pV P                  V! V!  V! V!  RP                  V4      R7       K3  	  R# )c                 F    R P                  V 4      V P                  R4      3# )rb  rO  r[   r(   s   &r   rA  -TestUnicode.test_literal_find.<locals>.pyfuncc  s    ::a=!&&+--r    r  r  N)r  r  r  s   &    r   test_literal_findTestUnicode.test_literal_findb  sP    	. VA3DVT]E4L!/!6!6t!<  > r    c                    R  p\        V4      p\         F1  pV.pV P                  V! V!  V! V!  RP                  V4      R7       K3  	  R# )c                     V '       * # r'   r$   r(   s   &r   rA  $TestUnicode.test_not.<locals>.pyfuncm  s	    5Lr    r  r  Nrn  r  s   &    r   test_notTestUnicode.test_notl  sP    	 V!A3DVT]E4L!/!6!6t!<  > "r    c                    R  p\        V4      p. ROpR.pRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )
capitalizer(   s   &r   rA  +TestUnicode.test_capitalize.<locals>.pyfuncw  s    <<>!r       𐀀􀀀z*Results of "{}".capitalize() must be equalr   r  N)	   𐑏   𐑏𐑏   𐐧𐑏   𐑏𐐧
   X𐐧x𐑏u   hİu   ῒİu   ﬁnnish   AͅΣrn  ro  s   &      r   test_capitalizeTestUnicode.test_capitalizev  sm    	" V@ 11:!RD(72^CCAVAYacjjmD Dr    c                f   R  p\        V4      p\         Uu. uF  q3P                  4       NK  	  pp. ROp. ROpV Uu. uF  q3^,          NK  	  pp\        V,           V,           V,           V,            F1  pV.p	V P                  V! V	!  V! V	!  RP	                  V	4      R7       K3  	  R# u upi u upi )c                 "    V P                  4       # r'   )isupperr(   s   &r   rA  (TestUnicode.test_isupper.<locals>.pyfunc  r  r    r  r  NAA12Aaa12au   大AA12Au   大aa12au   AAAǄAu	   A 1 1 大u   Ⅷ   ⅷr  r  r  r  r  r  )r   rF  upperrG  r  )
r1  rA  rB  r)   uppersr  rp  fourxcpyrO  rV  s
   &         r   test_isupperTestUnicode.test_isupper  s    	 V%56%5'')%56R=#*+7aEE7+!F*V3g=HHA3DVT]E4L!/!6!6t!<  > I 7 ,s
   B)B.c                    R  p\        V4      p\         F1  pV.pV P                  V! V!  V! V!  RP                  V4      R7       K3  	  R# )c                 "    V P                  4       # r'   )r&  r(   s   &r   rA  &TestUnicode.test_upper.<locals>.pyfunc  s    779r    r  r  Nrn  r  s   &    r   
test_upperTestUnicode.test_upper  sP    	 V!A3DVT]E4L!/!6!6t!<  > "r    c                    R  p\        V4      p. ROpR.pRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )casefoldr(   s   &r   rA  )TestUnicode.test_casefold.<locals>.pyfunc      ::<r    r  z(Results of "{}".casefold() must be equalr   r  N)r  hELlo   ß   ﬁ   Σr  rh  rn  ro  s   &      r   test_casefoldTestUnicode.test_casefold  sl    	  V. 118!RD(72^CCAVAYacjjmD Dr    c                    R  p\        V4      p. ROp. ROpRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )isalphar(   s   &r   rA  (TestUnicode.test_isalpha.<locals>.pyfunc  r  r    z'Results of "{}".isalpha() must be equalr   r  N)r  r  r  r  r  r  r  rl  rn  r1  rA  rB  rp  r  r  r   s   &      r   test_isalphaTestUnicode.test_isalpha  sj    	 V=8 8!RD(61G;;AVAYacjjmD <r    c                    R  p\        V4      p. ROpRp\        V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )r   r(   s   &r   rA  (TestUnicode.test_isascii.<locals>.pyfunc  r  r    z'Results of "{}".isascii() must be equalr  N)r    z       ér  rn  r  s   &     r   test_isasciiTestUnicode.test_isascii  sV    	 V H7!G++AVAYacjjmD ,r    c                    \         p\        V4      p. ROpRp\        R.,           V,            F2  pV P                  V! V4      V! V4      VP	                  V4      R7       K4  	  R# )r  z%Results of "{}".title() must be equalr   r  N)	r  r  u   𐑏𐑏 𐑏𐑏u   𐐧𐑏 𐐧𐑏u   𐑏𐐧 𐑏𐐧u   X𐐧x𐑏 X𐐧x𐑏u   ﬁNNISHu	   AΣ ᾡxyu   AΣA)r  r   rF  rG  r  r  s   &     r   
test_titleTestUnicode.test_title  s\    V? 6!RD(722AVAYacjjmD 3r    c                    R  p\        V4      p. ROpR.pRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )swapcaser(   s   &r   rA  )TestUnicode.test_swapcase.<locals>.pyfunc  r4  r    r  z(Results of "{}".swapcase() must be equalr   r  N)r  r  r  r  r  r  r7     İr8     ͅΣr     AͅΣar  u   AΣͅ   Σͅ r8  r6  u   ῒrn  ro  s   &      r   test_swapcaseTestUnicode.test_swapcase  sl    	  V- 118!RD(72^CCAVAYacjjmD Dr    c                   \         p\        V4      p\         Uu. uF  q3P                  4       NK  	  pp. ROp. ROpYf Uu. uF  q3^,          NK  	  up,          pRp\        V,           R.,           V,           V,            F2  pV P	                  V! V4      V! V4      VP                  V4      R7       K4  	  R# u upi u upi )r"  z'Results of "{}".islower() must be equalr   r  Nr!  r$  )r#  r   rF  r%  rG  r  )	r1  rA  rB  r)   lowersr  rp  r  r   s	   &        r   test_islowerTestUnicode.test_islower  s     V%56%5'')%56RK7+7aEE7++7!F*bT1F:WDDAVAYacjjmD E 7 ,s   B7 B<c                    R  p\        V4      p. ROp. ROpRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )isalnumr(   s   &r   rA  (TestUnicode.test_isalnum.<locals>.pyfunc	  r  r    z'Results of "{}".isalnum() must be equalr   r  N)r  r  r  r     𝟶   𑁦   𐒠   🄇rl  rn  r?  s   &      r   test_isalnumTestUnicode.test_isalnum	  sk    	 VK8 8!RD(61G;;AVAYacjjmD <r    c                   \         p\        V4      p. ROp. ROp. ROpRpVP                  V4       Rp\        R.,           V,           V,           V,            F2  pV P	                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )	r"  u   AΣ΢z%Results of "{}".lower() must be equalr   r  Nr!  )r  r  r  r  u   𐐧𐐧r  r  rR  )r8  rS  r  rT  rU  u   򏿾r%  )r&  r   r  rF  rG  r  )	r1  rA  rB  r  rp  sigmaextra_sigmar  r   s	   &        r   
test_lowerTestUnicode.test_lower	  s    VR7: &[!5!RD(61G;eCCAVAYacjjmD Dr    c                    R  p\        V4      p. ROp. ROpRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )	isnumericr(   s   &r   rA  *TestUnicode.test_isnumeric.<locals>.pyfunc/	      ;;= r    r   z)Results of "{}".isnumeric() must be equalr  N)r   rO  rk     ①   ¼   ٠
01234567890123456789ar  r  r  r  r  r     𑁥r`  ra  rb  rc  rl  rn  ro  s   &      r   test_isnumericTestUnicode.test_isnumeric.	  l    	! VK
- :!RD(72^CCAVAYacjjmD Dr    c                    R  p\        V4      p. ROp. ROpRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )isdigitr(   s   &r   rA  (TestUnicode.test_isdigit.<locals>.pyfuncB	  r  r    z'Results of "{}".isdigit() must be equalr   r  N)rp  rq  rr  r  r  r  r  r  r  ru  r`  ra  rb  rc  rl  rn  ro  s   &      r   test_isdigitTestUnicode.test_isdigitA	  sl    	 V!
@ 8!RD(72^CCAVAYacjjmD Dr    c                    R  p\        V4      p. ROp. ROpRp\        R.,           V,           V,            F2  pV P                  V! V4      V! V4      VP                  V4      R7       K4  	  R# )c                 "    V P                  4       # r'   )	isdecimalr(   s   &r   rA  *TestUnicode.test_isdecimal.<locals>.pyfuncU	  ro  r    r   z)Results of "{}".isdecimal() must be equalr  N)r   rO  rk  rp  rq  rr  rs  rt  r  r  r  r  r  r  ru  rc  r`  ra  rb  rl  rn  ro  s   &      r   test_isdecimalTestUnicode.test_isdecimalT	  rx  r    c                    \         p\        V4      p. ROpV F4  w  rEpV P                  V! WEV4      V! WEV4      RV: RV: RV: R24       K6  	  R# )rb  r  '.replace('', 'r  N
)rb  r   A)r   r  r  )r  r  r  )r  r  r  )r  r  r  )r  rO  r  )r  rP  r  )r  r   r  )r  r  r  )r  r  r  )r   r   rG  )r1  rA  rB  r  r  old_strnew_strs   &      r   test_replaceTestUnicode.test_replaceg	  sU     V
 +0&HwVHw?"8g>&:; +0r    c                    \         p\        V4      p. ROp. ROpV FA  w  rVpV F5  pV P                  V! WVWx4      V! WVWx4      RV: RV: RV: RV: R2	4       K7  	  KC  	  R# )rb  r  r  r  r  Nr  )r]  r  r   r+  )r   r   rG  )	r1  rA  rB  r  
count_testr  r  r  rl   s	   &        r   test_replace_with_count#TestUnicode.test_replace_with_count~	  sh    +V
 #
*/&Hw#  7!J!&x'!I"*GWe"EF $ +0r    c                   R  p\        V4      pV P                  \        4      ;_uu_ 4       pV! RRRR4       RRR4       RpV P                  V\	        XP
                  4      4       V P                  \        4      ;_uu_ 4       pV! R^ R^4       RRR4       RpV P                  V\	        VP
                  4      4       V P                  \        4      ;_uu_ 4       pV! RR^ ^4       RRR4       RpV P                  V\	        VP
                  4      4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     L_; i)c                 &    V P                  WV4      # r'   r}   r   s   &&&&r   rA  4TestUnicode.test_replace_unsupported.<locals>.pyfunc	  s    99Q5))r    
abababababbaqqqg      @Nz7Unsupported parameters. The parameters must be Integer.z!The object must be a UnicodeType.)r   r  r   r  r  r  )r1  rA  rB  r  r  s   &    r   test_replace_unsupported$TestUnicode.test_replace_unsupported	  s    	* V{++v,eS1 ,Gc3v//01{++v,5!, ,1c3v//01{++v,a+ ,1c3v//01 ,+
 ,+
 ,+s#   DD,D?D)	,D<	?E	r$   N)r4  r5  r6  r7  rC  r	   rJ  rQ  ra  ri  rm  rq  rt  rw  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r$  r0  r3  r6  r>  rC  rI  rN  r^  rl  ro  rr  rv  ry  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r!  r%  r*  r-  r0  r3  r6  r9  r=  rA  rJ  rN  rS  rX  r[  r^  rr  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r	  r  r  r)  r.  r9  r@  rI  rL  rV  rZ  rd  ri  rv  r}  r  r  r  r  r8  r9  r;  s   @r   r=  r=    s    3
 &4 2 + A?,4 + , + , + , + , , 2 - 2	EA2F>"G$3&3"G&=&H*Q.@*E2 + @2$5( - =8
HM	62$5(	L9(96-$5:=:
HM:>(28=0=0L8Q:F:	:77N
A
AAKK*K
'2> !/ : !/ .-
D	FI,K2<:	6	E>&
D	65*J6A48 9&@ @M L*5, )7 :E"HATE""GHE *8 6 )7 6 '5 6 #1 6 #1 6B26>2,>>>>>E">&>EE$EE E&E E$E.E&E&E&;.F42 2r    r=  c                   D   a  ] tR tRt o R tR tR tR tR tR t	Rt
V tR	# )
TestUnicodeInTuplei	  c                    \         R  4       pV P                  VP                  4       V! 4       4       \         R 4       pV P                  VP                  4       V! 4       4       R# )c                      RR8  # )aa)r  bbr$   r$   r    r   r  9TestUnicodeInTuple.test_const_unicode_in_tuple.<locals>.f	      W$$r    c                      RR8  # )cc)r  r  r$   r$   r    r   r  r  	  r  r    Nr   rG  r^  r1  r  s   & r   test_const_unicode_in_tuple.TestUnicodeInTuple.test_const_unicode_in_tuple	  sZ    		% 
	% 	ac*		% 
	% 	ac*r    c                    \         R  4       pV P                  VP                  4       V! 4       4       \         R 4       pV P                  VP                  4       V! 4       4       R# )c                      RR8  # )r  r  r  )r  r  r$   r$   r    r   r  @TestUnicodeInTuple.test_const_unicode_in_hetero_tuple.<locals>.f	      y((r    c                      RR8  # )r  r  )r  r  r$   r$   r    r   r  r  	  r  r    Nr  r  s   & r   "test_const_unicode_in_hetero_tuple5TestUnicodeInTuple.test_const_unicode_in_hetero_tuple	  sZ    		) 
	) 	ac*		) 
	) 	ac*r    c                z    \         R  4       p\         F$  pV P                  V! V4      \        V4      4       K&  	  R# )c                     V P                   # r'   r  r   s   &r   r  3TestUnicodeInTuple.test_ascii_flag_unbox.<locals>.f	  s    ;;r    N)r   rF  rG  r   r  s   &  r   test_ascii_flag_unbox(TestUnicodeInTuple.test_ascii_flag_unbox	  s8    		 
	 "AQqT71:. "r    c                L    \         R  4       pV P                  V! 4       R4       R# )c                      R p RpRpRpRP                  W.4      P                  RP                  W.4      P                  RP                  W.4      P                  RP                  W#.4      P                  3# )rb  rM  r  r#   ,)r   r  s1s2s3s4s       r   r  2TestUnicodeInTuple.test_ascii_flag_join.<locals>.f	  sp    BBB1BHHbX&00NNB8,66HHbX&00HHbX&002 2r    N)r  r   r   r   r  r  s   & r   test_ascii_flag_join'TestUnicodeInTuple.test_ascii_flag_join	  s(    		2 
	2 	l+r    c                L    \         R  4       pV P                  V! 4       R4       R# )c                      R p RpV ^ ,          P                   V R,          P                   V^ ,          P                   VR,          P                   3# )abc123u   🐍⚡🐍⚡🐍⚡:r  NNr  )r  r  s     r   r  5TestUnicodeInTuple.test_ascii_flag_getitem.<locals>.f	  sD    B(BqEOORV%5%5r!urF$$& &r    N)r  r  r   r   r  r  s   & r   test_ascii_flag_getitem*TestUnicodeInTuple.test_ascii_flag_getitem	  s(    		& 
	& 	l+r    c                L    \         R  4       pV P                  V! 4       R4       R# )c                      R p RpRpRpW,           P                   W,           P                   W#,           P                   V ^,          P                   V^,          P                   3# )rb  rM  r  r#   r  r  s       r   r  5TestUnicodeInTuple.test_ascii_flag_add_mul.<locals>.f	  s[    BBB1BW''W''W''!V&&!V&&	( (r    N)r  r   r   r  r   r  r  s   & r   test_ascii_flag_add_mul*TestUnicodeInTuple.test_ascii_flag_add_mul	  s(    			( 
		( 	o.r    r$   N)r4  r5  r6  r7  r  r  r  r  r  r  r8  r9  r  s   @r   r  r  	  s(     ++/,,/ /r    r  c                   >   a  ] tR tRt o R tR tR tR tR tRt	V t
R# )	TestUnicodeIterationi	  c                ~    \         p\        V4      p\         F!  pV P                  V! V4      V! V4      4       K#  	  R # r'   )r  r   rF  r?  r1  rA  rB  rO  s   &   r   test_unicode_iter&TestUnicodeIteration.test_unicode_iter	  s2    V!A##F1IuQx8 "r    c                `    \         p\        V4      pV P                  V! 4       V! 4       4       R # r'   )r  r   r?  r@  s   &  r   test_unicode_literal_iter.TestUnicodeIteration.test_unicode_literal_iter
  s$    %V%'2r    c                ~    \         p\        V4      p\         F!  pV P                  V! V4      V! V4      4       K#  	  R # r'   )r  r   rF  r?  r  s   &   r   test_unicode_enumerate_iter0TestUnicodeIteration.test_unicode_enumerate_iter
  s2    (V!A##F1IuQx8 "r    c           	         V P                  4        \        p\        V4      pW3 F>  p\         F1  pV P	                  \
        4      ;_uu_ 4        V! V4       R R R 4       K3  	  K@  	  R #   + '       g   i     KL  ; ir'   )r  r  r   rF  r  StopIteration)r1  rA  rB  r  rO  s   &    r   test_unicode_stopiteration_iter4TestUnicodeIteration.test_unicode_stopiteration_iter
  s\    !+VA%&&}55aD 65 & !555s   	A)	)A:c                    \         p\        V4      pW3 F0  pV P                  \        4      ;_uu_ 4        V! 4        R R R 4       K2  	  R #   + '       g   i     KG  ; ir'   )r   r   r  r  )r1  rA  rB  r  s   &   r   'test_unicode_literal_stopiteration_iter<TestUnicodeIteration.test_unicode_literal_stopiteration_iter
  sD    3VA""=11 21 !111s   AAr$   N)r4  r5  r6  r7  r  r  r  r  r  r8  r9  r  s   @r   r  r  	  s#     93
9 r    r  c                   D   a  ] tR tRt o R tR tR tR tR tR t	Rt
V tR	# )
TestUnicodeAuxillaryi
  c                    \         p\        V4      p\         F*  pV F!  pV P                  V! V4      V! V4      4       K#  	  K,  	  R # r'   )r(  r   rF  r?  )r1  rA  rB  exrO  s   &    r   test_ordTestUnicodeAuxillary.test_ord!
  s<    V"B''q	58<  #r    c           	        V P                  4        \        p\        V4      pW3 F_  pR FV  pV P                  \        4      ;_uu_ 4       pV! V4       RRR4       V P                  R\        XP                  4      4       KX  	  Ka  	  V P                  \        4      ;_uu_ 4       pV! R4       RRR4       V P                  \        \        XP                  4      4       R#   + '       g   i     L; i  + '       g   i     LN; i)r   Nzord() expected a charactergGz?)r   rb  )
r  r(  r   r  	TypeErrorr  r  r  r   r   )r1  rA  rB  r  chr  s   &     r   test_ord_invalid%TestUnicodeAuxillary.test_ord_invalid(
  s    !V OD!&&y11VH 2:!&"2"235 " $ {++v$K ,lC(8(8$9: 21 ,+s   
	C!	%	C4!C14D	c                    \         p\        V4      p\         F5  pV F,  p\        V4      pV P	                  V! V4      V! V4      4       K.  	  K7  	  ^ \
        3 F!  pV P	                  V! V4      V! V4      4       K#  	  R# )r   N)r+  r   rF  r   r?  r   )r1  rA  rB  r  r)   rO  s   &     r   test_chrTestUnicodeAuxillary.test_chr;
  sn    V"BF''q	58<  #
 |$A##F1IuQx8 %r    c           	        \         p\        V4      pW3 Fl  pR\        ^,           3 FV  pV P                  \        4      ;_uu_ 4       pV! V4       RRR4       V P                  R\        XP                  4      4       KX  	  Kn  	  V P                  \        4      ;_uu_ 4       pV! R4       RRR4       V P                  \        \        XP                  4      4       R#   + '       g   i     L; i  + '       g   i     LN; i)r  Nzchr() arg not in rangerb  r  )
r+  r   r   r  r  r  r  r  r   r   )r1  rA  rB  r  vr  s   &     r   test_chr_invalid%TestUnicodeAuxillary.test_chr_invalidF
  s    V OD,*+&&z22fG 36F<L<L8MN , $ {++v%L ,lC(8(8$9: 32
 ,+s   	C	"	C1C.1D	c                $  a R  o\        S4      R 4       p\        V3R l4       pRpV P                  VP                  V4      V! V4      4       V P	                  \
        P                  \
        P                  P                  P                  4       R# )c                     R # )Tr$   r(   s   &r   bar7TestUnicodeAuxillary.test_unicode_type_mro.<locals>.barX
  s    r    c                    a R o\        V \        P                  4      '       d#   \        V \        P                  4      '       d   RoV3R l# )FTc                    < S# r'   r$   r)   oks   &r   <lambda>LTestUnicodeAuxillary.test_unicode_type_mro.<locals>.ol_bar.<locals>.<lambda>a
  s    Rr    )
isinstancer   r  Hashabler  s   &@r   ol_bar:TestUnicodeAuxillary.test_unicode_type_mro.<locals>.ol_bar[
  s7    B!U..//a00Br    c                    < S! V 4      # r'   r$   )strinstr  s   &r   rZ  7TestUnicodeAuxillary.test_unicode_type_mro.<locals>.fooc
  s    w<r    rb  N)
r   r   rG  r^  r  r   r  rS  r2  __mro__)r1  r  rZ  instr  s   &   @r   test_unicode_type_mro*TestUnicodeAuxillary.test_unicode_type_mroV
  s|    	 
#	  
	  
	  
	  T*CI6enne&8&8&B&B&J&JKr    c                T   R pR pR pR pR pV P                  V! ^4      \        V4      ! ^4      4       V P                  V! ^4      \        V4      ! ^4      4       V P                  V! R4      \        V4      ! R4      4       RR.p\        V4      ! V4      pR	\        V4       R
2pV P                  Wx4       \        \        3p	V P                  V	4      ;_uu_ 4       p
\        V4      ! RR.4       RRR4       \        R9   d)   RpV P                  V\        X
P                  4      4       MB\        R9   d)   RpV P                  V\        X
P                  4      4       M\        \        4      hV P                  V! 4       \        V4      ! 4       4       R#   + '       g   i     L; i)z@test f-string support, which requires bytecode handling
        c                     R V ^,            R2# )AA__Br$   r  s   &r   impl12TestUnicodeAuxillary.test_f_strings.<locals>.impl1o
  s    Qr?"r    c                     V ^,            # )r  r$   r  s   &r   impl22TestUnicodeAuxillary.test_f_strings.<locals>.impl2s
  s    !eWr    c                     R V  2# )ABC_r$   r  s   &r   impl32TestUnicodeAuxillary.test_f_strings.<locals>.impl3w
  s    !:r    c                     R V R 2# )r  rk  r$   r  s   &r   impl42TestUnicodeAuxillary.test_f_strings.<locals>.impl4{
  s    !A<r    c                      R # r   r$   r$   r    r   impl52TestUnicodeAuxillary.test_f_strings.<locals>.impl5
  s    Jr    DEr  BzABC_<object type:r  Nz,Use of unsupported opcode (FORMAT_WITH_SPEC)z*format spec in f-strings not supported yet))r  r  )r     ))r  r  )r  r  )r  r  )rG  r   r   r   r   r  r   r  r  r  NotImplementedError)r1  r  r  r  r  r  list_arggotexpectedunsupported_errorsr  r  s   &           r   test_f_strings#TestUnicodeAuxillary.test_f_stringsk
  s^   	#			 	 	q4;q>2q4;q>2td5k$&78 :5k(#&vh'7&8:' /0HI122fKc
# 3**@CMM#s6#3#34555>CMM#s6#3#345%i00$u+-0 32s   FF'	r$   N)r4  r5  r6  r7  r  r  r  r  r  r"  r8  r9  r  s   @r   r  r  
  s)     =;&	9; L*.1 .1r    r  __main__)r   r)  r  r  r  r  r#   )r   aaar%  rP  aabr  ascascihr)  asciju   大处着眼，小处着手r#   u%   大处着眼，小处着手。🐍⚡r}  )r   r)  )r)  r   )zasc iir  )r)  ci)r)  r)  )r)  r	  )r)  r  )r)     étú?)r   r  )r  r   )r  r  )r  r*  )r  u   大处大处)r  r  )r  r	  r  )r  r+  )r   r  )r  r   )r  r  )r  r*  )r  r  )r  r	  )r  r  )r  r+  )ababababrO  )r,  r  )r,  r  )
aaaaaaaaaar%  )r-  r  )aabbaaaabbaar  )t	itertoolsr   r   numbar   r   
numba.corer   unittestnumba.tests.supportr   r	   r
   numba.core.errorsr   r   r   numba.cpython.unicoder   numba.core.types.functionsr   numba.extendingr   numba.core.utilsr   r   r%   r*   r.   r3   r7   r;   r>   rA   rD   rG   rI   rK   rM   rP   rR   rT   rY   r]   rb   rf   ri   rm   ro   rr   rw   ry   r{   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r  r   r#  r&  r(  r+  r-  rF  rg  r9  r=  r  r  r  r4  mainr$   r    r   <module>r:     s~    "    K K9 9 . 3 $ &(,
!"""#"!)"' % )"+#,!  & &
  "!!! ! 	!
 ! ! ! ! ! 8! 8! 9! :! D! c!  :!!" >#!$ >%!& !'!( !)!* "+!, #-!. 5/!0 #1!2 '3!4 '5!6 7!8 9!: ;!< =!> ?!@ A! H|2( |2~?J/ J/Z!8 !Hz18 z1z zMMO r    