| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python315/Lib/test/test_string/__pycache__/ |
Upload File : |
R
>lqj� c �4 � ] QH Gs Q Q2 sQ sQ sP! )� )�
Interpolationc �. ` � \ sQ s]s n Q sQ sQsU sP! )�TStringBaseCasec �V � [ U2 ]6X cB UO UO UO UO 1oU O V22 P! [ U2 ]6X cR U O UO UO UO 1U2 U O UO P2 P! [ U2 ]6X cc U O UO UO 1U2 U O UO P2 U O UO P2 P! [ U2 ]6X ct U O UO 1U2 U O UO P2 U O UO P2 U O UO P2 P! P! )a Test Interpolation equality.
The *i* argument must be an Interpolation instance.
The *exp* argument must be a tuple of the form
(value, expression, conversion, format_spec) where the final three
items may be omitted and are assumed to be '', None and '' respectively.
)�len�value�
expression�
conversion�format_spec�assertEqual)�self�i�exp�actuals &&& �.C:\Python315\\Lib\test\test_string\_support.py�assertInterpolationEqual�(TStringBaseCase.assertInterpolationEqual s/ � � �s�8�q�=��g�g�q�|�|�Q�\�\�1�=�=�I�F����V�)�
��X��]����a�g�g�q�|�|�Q�\�\�B�C�H����Q�]�]�B�/�
��X��]����a�g�g�q�|�|�4�c�:����Q�\�\�4�0����Q�]�]�B�/�
��X��]����a�g�g�Z��-����Q�\�\�2�.����Q�\�\�4�0����Q�]�]�B�/� � c � � U O UO U2 U O [ UO 2 [ U2 2 [ UO UP Q5 F D v qEU O VE2 J P! )a. Test template string literal equality.
The *strings* argument must be a tuple of strings equal to *t.strings*.
The *interpolations* argument must be a sequence of tuples which are
compared against *t.interpolations*. Each tuple must match the form
described in the `assertInterpolationEqual` method.
)�strict)r �stringsr �interpolations�zipr )r �tr r r
r s &&&& r �assertTStringEqual�"TStringBaseCase.assertTStringEqual se � �
������G�,�����Q�-�-�.��N�0C�D��!�*�*�N�4�H�H�F�A��)�)�!�1� Ir � )�__name__�
__module__�__qualname__�__firstlineno__r r �__static_attributes__�__classdictcell__)�
__classdict__s @r r r s �� � �0�2
2�
2r r c �t � UQ 6X c [ U 2 ! UQ6X c [ U 2 ! UQ6X c [ U 2 ! U ! )�a�r�s)�ascii�repr�str)r r s &&r �convertr+ . s= � ��S���U�|�� �s� ��E�{�� �s� ��5�z���Lr c � � , oS F Dd oS99[ Q b 9d v o UO U2 J( [ Q b9d/ v o qV[ VE2 o[ VF2 oUO U2 Jc Jf PO U2 ! )r )r* �appendr r+ �format�join)�template�parts�itemr'