ó
ìUzMc           @   sI   d  d l  m Z d  d l m Z m Z d „  Z d e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   TestCase(   t   encodert   scannerc           C   s   t  j d  k	 S(   N(   R   t   c_make_encodert   None(    (    (    sB   /usr/lib/python2.7/dist-packages/simplejson/tests/test_speedups.pyt   has_speedups   s    t
   TestDecodec           B   s   e  Z d  „  Z d „  Z RS(   c         C   s'   t  ƒ  s d  S|  j t t j d ƒ d  S(   Ni   (   R   t   assertRaisest   AttributeErrorR   t   c_make_scanner(   t   self(    (    sB   /usr/lib/python2.7/dist-packages/simplejson/tests/test_speedups.pyt   test_make_scanner	   s    	c         C   s-   t  ƒ  s d  S|  j t t j d  d d  ƒ d  S(   Ns   Í}=NLùy×Rº‚ò'J} Êu(   R   R   t	   TypeErrorR   R   R   (   R
   (    (    sB   /usr/lib/python2.7/dist-packages/simplejson/tests/test_speedups.pyt   test_make_encoder   s    	(   t   __name__t
   __module__R   R   (    (    (    sB   /usr/lib/python2.7/dist-packages/simplejson/tests/test_speedups.pyR      s   	N(   t   unittestR    t
   simplejsonR   R   R   R   (    (    (    sB   /usr/lib/python2.7/dist-packages/simplejson/tests/test_speedups.pyt   <module>   s   	