
    <e                     6   d Z ddlZ G d dej                  Z G d deej                  Z G d deej                  Zd	 Z ej         ed
                    Ze	                    ddddd           i Z
e                                D ]
\  ZZee
e<   dS )z Test Codecs (used by test_charmapcodec)

Written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright 2000 Guido van Rossum.

    Nc                       e Zd ZddZddZdS )Codecstrictc                 8    t          j        ||t                    S N)codecscharmap_encodeencoding_mapselfinputerrorss      %/usr/lib/python3.11/test/testcodec.pyencodezCodec.encode       $U6,???    c                 8    t          j        ||t                    S r   )r   charmap_decodedecoding_mapr   s      r   decodezCodec.decode   r   r   N)r   )__name__
__module____qualname__r   r    r   r   r   r      sF        @ @ @ @@ @ @ @ @ @r   r   c                       e Zd ZdS )StreamWriterNr   r   r   r   r   r   r   r              Dr   r   c                       e Zd ZdS )StreamReaderNr   r   r   r   r    r       r   r   r    c                  f    t                      j        t                      j        t          t          fS r   )r   r   r   r    r   r   r   r   getregentryr"      s    GGN577>,|DDr      abcx    )r%   s   abc   y   )__doc__r   r   r   r    r"   make_identity_dictranger   updater
   itemskvr   r   r   <module>r0      sC    @ @ @ @ @FL @ @ @	 	 	 	 	5, 	 	 		 	 	 	 	5, 	 	 	
E E E )v(s44   	       CAaLOO r   