| Server IP : 121.121.20.254 / Your IP : 216.73.216.220 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 : C:/Python312/Lib/test/__pycache__/ |
Upload File : |
�
���gN � �x � d dl Z d dlZd� ZdZ G d� de j � Zedk( r e j � yy)� Nc �L � | dk( rddl m} t |j � � S y )N� testcodecr )r )�testr �tuple�getregentry)�encodingr s �+C:\Python312\\Lib\test\test_charmapcodec.py�codec_search_functionr
s$ � ��;��"��Y�*�*�,�-�-�� r c �* � e Zd Zd� Zd� Zd� Zd� Zd� Zy)�CharmapCodecTestc �~ � t j t � | j t j t � y )N)�codecs�registerr
�
addCleanup�
unregister��selfs r �setUpzCharmapCodecTest.setUp s$ � ����-�.�����)�)�+@�Ar c �D � | j t dt � d� | j t dt � d� | j t dt � d� | j t dt � d� | j t d t � d
� y )N� abc�abcs xdef�abcdefs defx�defabcs dxf�dabcfs dxfx�dabcfabc��assertEqual�str� codecnamer s r �test_constructorxz"CharmapCodecTest.test_constructorx su � �����V�Y�/��7�����W�i�0�(�;�����W�i�0�(�;�����V�Y�/��9�����W�i�0�*�=r c �v � | j dj t � d� | j dj t � d� | j dj t � d� | j dj t � d� | j d j t � d
� y )Nr r �xdefs abcdef�defxs defabc�dxfs dabcf�dxfxs dabcfabc)r �encoder r s r �test_encodexzCharmapCodecTest.test_encodex'