mň
­fIc           @   s   d  Z  d k Z e i d j Z d k Z d k l Z d k Z e i d d e	 d  d e i
 f d     YZ d	   Z e d
 j o e   n d S(   sa   Test correct treatment of hex/oct constants.

This is complex because of changes due to PEP 237.
Ni˙˙˙(   s   test_supportt   ignores   hex/oct constantss   <string>t
   TextHexOctc           B   s,   t  Z d   Z d   Z d   Z d   Z RS(   Nc         C   sí   |  i d d  |  i d d  t o |  i d d  n |  i d d  |  i d d  |  i d d  t o |  i d d  n |  i d d  |  i d d  |  i d d  t o |  i d d  n |  i d d  d  S(   Ni    i   i˙˙˙l   ˙˙˙˙ iđ˙˙˙i  lű˙˙˙˙˙˙˙ (   t   selft   assertEqualt   platform_long_is_32_bits(   R   (    (    t-   /mit/python/lib/python2.4/test/test_hexoct.pyt   test_hex_baseline   s    c         C   s×   t  oh |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  ne |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  d  S(	   Nl        l   ˙˙ lý˙˙˙     lý˙˙˙˙˙ l            l   ˙˙˙˙ lű˙˙˙         lű˙˙˙˙˙˙˙ (   R   R   R   (   R   (    (    R   t   test_hex_unsigned)   s    c         C   sí   |  i d d  |  i d d  t o |  i d d  n |  i d d  |  i d d  |  i d d  t o |  i d d  n |  i d d  |  i d d  |  i d d  t o |  i d d  n |  i d d  d  S(   Ni    i   i˙˙˙l   ˙˙˙˙ iđ˙˙˙i  lű˙˙˙˙˙˙˙ (   R   R   R   (   R   (    (    R   t   test_oct_baselineA   s    c         C   s×   t  oh |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  ne |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  |  i d d  d  S(	   Nl        l   ˙˙ lý˙˙˙     lý˙˙˙˙˙ l            l   ˙˙˙˙ lű˙˙˙         lű˙˙˙˙˙˙˙ (   R   R   R   (   R   (    (    R   t   test_oct_unsignedX   s    (   t   __name__t
   __module__R   R   R   R	   (    (    (    R   R      s   			c           C   s   t  i t  d  S(   N(   t   test_supportt   run_unittestR   (    (    (    R   t	   test_mainp   s    t   __main__(   t   __doc__t   syst   maxintR   t   unittestt   testR   t   warningst   filterwarningst   FutureWarningt   TestCaseR   R   R
   (   R   R   R   R   R   R   R   (    (    R   t   ?   s   			`	