Ñò
•à"Ic           @   sB   d  d k  Z  d  d k l Z d  d k Z d e f d „  ƒ  YZ d S(   iÿÿÿÿN(   t   TestCaset
   TestDecodec           B   s   e  Z d  „  Z d „  Z RS(   c         C   sN   t  i d d t i ƒ} |  i t | t i ƒ ƒ |  i | t i d ƒ ƒ d  S(   Ns   1.1t   parse_float(   t   jsont   loadst   decimalt   Decimalt   assert_t
   isinstancet   assertEquals(   t   selft   rval(    (    s3   /mit/python/lib/python2.6/json/tests/test_decode.pyt   test_decimal   s    c         C   s?   t  i d d t ƒ} |  i t | t ƒ ƒ |  i | d ƒ d  S(   Nt   1t	   parse_intg      ð?(   R   R   t   floatR   R   R	   (   R
   R   (    (    s3   /mit/python/lib/python2.6/json/tests/test_decode.pyt
   test_float   s    (   t   __name__t
   __module__R   R   (    (    (    s3   /mit/python/lib/python2.6/json/tests/test_decode.pyR      s   	(   R   t   unittestR    R   R   (    (    (    s3   /mit/python/lib/python2.6/json/tests/test_decode.pyt   <module>   s   