ó
ŒwÛjc           @   sÛ   d  Z  d d l Z d e j f d „  ƒ  YZ d e e j f d „  ƒ  YZ d e e j f d „  ƒ  YZ d	 „  Z e j e d
 ƒ ƒ Z e j	 i d d 6d d 6d d 6d d 6ƒ i  Z x$ e j ƒ  D] \ Z Z e e e <q½ Wd S(   s‚    Test Codecs (used by test_charmapcodec)

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

(c) Copyright 2000 Guido van Rossum.

iÿÿÿÿNt   Codecc           B   s    e  Z d  d „ Z d  d „ Z RS(   t   strictc         C   s   t  j | | t ƒ S(   N(   t   codecst   charmap_encodet   encoding_map(   t   selft   inputt   errors(    (    s„   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/testcodec.pyt   encode   s    c         C   s   t  j | | t ƒ S(   N(   R   t   charmap_decodet   decoding_map(   R   R   R   (    (    s„   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/testcodec.pyt   decode   s    (   t   __name__t
   __module__R   R   (    (    (    s„   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/testcodec.pyR       s   t   StreamWriterc           B   s   e  Z RS(    (   R   R   (    (    (    s„   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/testcodec.pyR      s   t   StreamReaderc           B   s   e  Z RS(    (   R   R   (    (    (    s„   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/testcodec.pyR      s   c           C   s   t  ƒ  j t  ƒ  j t t f S(   N(   R    R   R   R   R   (    (    (    s„   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/testcodec.pyt   getregentry   s    i   u   abcix   t   abci   u    iy   (   t   __doc__R   R    R   R   R   t   make_identity_dictt   rangeR
   t   updatet   NoneR   t   itemst   kt   v(    (    (    s„   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/testcodec.pyt   <module>   s   
		