;
Μβ"Ic               @   sΑ  d  d l  m Z m Z d  d l Z d  d l Z i  a i  a g  a g  a d  a	 d   Z
 Gd   d  Z d   Z d   Z d   Z e d	  Gd
   d  Z Gd   d  Z e e d  Z e e   j d e e j   e j e  i  Z x! e d d  D] Z e e e <qό We e d  Z Gd   d  Z e   e e   <e e e  d e e j   e j e  [ [ i  Z x! e d d  D] Z e e e <qWGd   d  Z e   e e   <y e e   Wn e k
 o Yn X[ i  Z x! e d d  D] Z e e e <qϋWGd   d  Z e d   e e d  <e d   e e d  <e e d  Z z9 y e e e d  d e Wn e k
 o Yn XWd e j   e j e  X[ b b b b d S(   i    (   u   verboseu   TESTFNNc              C   s  t  p d  St j   d k  o d  St j   d k  o t t }  } n t t }  } t j   d k  oc d a  x* t t j d   } | |  k o Pqq qq t t j d   |  | <| j |  d a  nE | o= d a  t j t	 |   } | | } |  | =| | =d a  n d  S(   Ng      ΰ?gΙ?i    id   i   (
   u   mutateu   randomu   dict1u	   dict1keysu   dict2u	   dict2keysu   Horridu	   randrangeu   appendu   len(   u   targetu   keysu   newkeyu   iu   key(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   maybe_mutate/   s.    

c             B   sM   |  Ee  Z d    Z d   Z d   Z d   Z e Z Z Z Z	 d   Z
 d S(   c             C   s   | |  _  d  S(   N(   u   i(   u   selfu   i(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __init__S   s    c             C   s   d S|  j  S(   Ni*   (   u   hashcode(   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __hash__^   s    c             C   s   t    |  j | j k S(   N(   u   maybe_mutateu   i(   u   selfu   other(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __eq__b   s    c             C   s   t  d   d  S(   Nu1   I didn't expect some kind of Spanish inquisition!(   u   RuntimeError(   u   selfu   other(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __ne__f   s    c             C   s   d |  j  S(   Nu
   Horrid(%d)(   u   i(   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __repr__k   s    N(   u   __name__u
   __module__u   __init__u   __hash__u   __eq__u   __ne__u   __lt__u   __le__u   __gt__u   __ge__u   __repr__(   u
   __locals__(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   HorridR   s   
				u   Horridc             C   sY   |  j    x< t |  D]. } t t j |   |  t t j |   <q Wt |  j    S(   N(   u   clearu   rangeu   Horridu   randomu   choiceu   listu   keys(   u   du
   candidatesu
   numentriesu   i(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu	   fill_dictr   s
    
 ,c             C   sΞ   d a  t t t |   |   a t t t |   |   a d a  t o& t d t	 t  t	 t  d d n xL t oD t	 t  t	 t  k o+ t o t d d d n t t k } ql Wt o t   n d  S(   Ni    i   u   trying w/ lengthsu   endu    u   .(
   u   mutateu	   fill_dictu   dict1u   rangeu	   dict1keysu   dict2u	   dict2keysu   verboseu   printu   len(   u   nu   c(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   test_one~   s    &  c             C   s1   x* t  |   D] } t t j d d   q Wd  S(   Ni   id   (   u   rangeu   test_oneu   randomu	   randrange(   u   nu   i(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   test   s     id   c             B   s    |  Ee  Z d    Z d   Z d S(   c             C   s   | |  j  d <d  S(   Nu   parent(   u   __dict__(   u   selfu   parent(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __init__₯   s    c             C   s|   d |  j  _ d |  j  _ d |  j  _ d |  j  _ d |  j  _ d |  j  _ d |  j  _ d |  j  _ d |  j  _	 t
 |  j  |  S(   Ni   (   u   parentu   au   bu   cu   du   eu   fu   gu   hu   iu   getattr(   u   selfu   attr(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __getattr__§   s    N(   u   __name__u
   __module__u   __init__u   __getattr__(   u
   __locals__(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   Child€   s   
	u   Childc             B   s   |  Ee  Z d    Z d S(   c             C   s   t  |   |  _ d  S(   N(   u   Childu   a(   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __init__΄   s    N(   u   __name__u
   __module__u   __init__(   u
   __locals__(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   Parent³   s   
u   Parentu   wu   filei   i
   c             B   s    |  Ee  Z d    Z d   Z d S(   c             C   s!   t  j   t d t  t d  S(   Nu   fileu   machiavelli(   u   dictu   clearu   printu   fu   repr(   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __repr__Ν   s    
c             C   s   d S(   Ni    (    (   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __hash__Φ   s    N(   u   __name__u
   __module__u   __repr__u   __hash__(   u
   __locals__(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   MachiavelliΜ   s   
		u   Machiavellic             B   s    |  Ee  Z d    Z d   Z d S(   c             C   s   t  j   d S(   Ni   (   u   dictu   clear(   u   selfu   other(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __eq__λ   s    
c             C   s   d S(   Ni    (    (   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __hash__ο   s    N(   u   __name__u
   __module__u   __eq__u   __hash__(   u
   __locals__(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   Machiavelli2κ   s   
	u   Machiavelli2c             B   s2   |  Ee  Z d    Z d   Z d   Z d   Z d S(   c             C   s   | |  _  d  S(   N(   u   id(   u   selfu   id(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __init__  s    c             C   s*   |  j  | j  k o t j   d Sd Sd  S(   Ni   i    (   u   idu   dictu   clear(   u   selfu   other(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __eq__  s    
c             C   s   d |  j  j |  j f S(   Nu   %s(%s)(   u	   __class__u   __name__u   id(   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __repr__  s    c             C   s   d S(   Ni    (    (   u   self(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   __hash__  s    N(   u   __name__u
   __module__u   __init__u   __eq__u   __repr__u   __hash__(   u
   __locals__(    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   Machiavelli3  s   
			u   Machiavelli3i   (   u   test.supportu   verboseu   TESTFNu   randomu   osu   dict1u   dict2u	   dict1keysu	   dict2keysu   mutateu   maybe_mutateu   Horridu	   fill_dictu   test_oneu   testu   Childu   Parentu   openu   fu   printu   __dict__u   closeu   unlinku   dictu   rangeu   iu   Machiavelliu   stru   Machiavelli2u   KeyErroru   Machiavelli3(    (    (    u.   /mit/python/lib/python3.0/test/test_mutants.pyu   <module>   st   	# 			
	
 
  

