B
    u9a  ã               @   s–   d Z ddlZG dd„ dejƒZG dd„ deejƒZG dd„ deejƒZd	d
„ Ze edƒ¡Ze 	dddddœ¡ i Z
xe ¡ D ]\ZZee
e< q~W dS )z‚ Test Codecs (used by test_charmapcodec)

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

(c) Copyright 2000 Guido van Rossum.

é    Nc               @   s    e Zd Zddd„Zddd„ZdS )	ÚCodecÚstrictc             C   s   t  ||t¡S )N)ÚcodecsÚcharmap_encodeÚencoding_map)ÚselfÚinputÚerrors© r
   ú/usr/lib/python3.7/testcodec.pyÚencode   s    zCodec.encodec             C   s   t  ||t¡S )N)r   Úcharmap_decodeÚdecoding_map)r   r   r	   r
   r
   r   Údecode   s    zCodec.decodeN)r   )r   )Ú__name__Ú
__module__Ú__qualname__r   r   r
   r
   r
   r   r      s   
r   c               @   s   e Zd ZdS )ÚStreamWriterN)r   r   r   r
   r
   r
   r   r      s   r   c               @   s   e Zd ZdS )ÚStreamReaderN)r   r   r   r
   r
   r
   r   r      s   r   c               C   s   t ƒ jt ƒ jttfS )N)r   r   r   r   r   r
   r
   r
   r   Úgetregentry   s    r   é   Úabcéx   Ú )r   s   abcé   éy   )Ú__doc__r   r   r   r   r   Úmake_identity_dictÚranger   Úupdater   ÚitemsÚkÚvr
   r
   r
   r   Ú<module>   s   

