python (3.12.0)
ΑeoW d dl Z d dlZd dlmZ G d de j Z G d d Z G d d Z G d d
e j Zedk( r e j yy) N)Templatec ` e Zd Zd Zd Zd Zd Zd Zd Zd Z d Z
d Zd
Zd Z
d Zd
Zd Zy)
ModuleTestc H | j t j d | j t j d | j t j d | j t j
t j t j z | j t j d | j t j t j dz | j t j d | j t j d | j t j t j t j z t j z t j z t j z y )Nz
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789abcdefABCDEF01234567z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)assertEqualstring
whitespaceascii_lowercaseascii_uppercase
ascii_lettersdigits hexdigits octdigitspunctuation printableselfs D/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_string.py
test_attrszModuleTest.test_attrs s+
**,=>//1MN//1MN--v/E/EH^H^/^_5))6==>+IJ)):6++-QR))6==6;Q;Q+QTZTjTj+jmsmm+ CI CT CT ,T U c | j t j d d | j t j d d | j t j d d | j t j d d | j t j dd d | j t j d d
| j t j d d | j t j d
d | j t j d
d d y )Nzabc def ghizAbc Def Ghizabc def
ghizabc def
ghizABC DEF GHIzABC-DEF-GHI-zAbc-Def-GhizABC-def DEF-ghi GHIzAbc-def Def-ghi Ghiz aBc DeF zAbc Defz aBc DeF z Abc Def )r r
capwordsr s r
test_capwordszModuleTest.test_capwords s 7G9=I)=>
N7G<mL)>?AVW)9:IF8)D>Or c t j }| j |j d d | j |j dd d | j |j ddd d | j t
|j | j t
t j j y )Nfoozfoo{0}barfoobarz
foo{1}{0}-{1} z foo6bar-6)r
Formatterr formatassertRaises TypeErrorr fmts r test_basic_formatterzModuleTest.test_basic_formatter"