ó
żb]c           @   s  d  Z  d d l m Z d e j f d     YZ d e j f d     YZ d e j f d     YZ d	 e f d
     YZ d e j f d     YZ d e j f d     YZ	 d e j f d     YZ
 d e j f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d d$ d     YZ d d% d     YZ d e f d     YZ d e f d      YZ d! e f d"     YZ d# S(&   sO   Classes used in pickling tests, need to be at the module level for
unpickling.
i   (   t   fixturest   Userc           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s   t   Orderc           B   s   e  Z RS(    (   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s   t	   Dingalingc           B   s   e  Z RS(    (   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s   t	   EmailUserc           B   s   e  Z RS(    (   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s   t   Addressc           B   s   e  Z RS(    (   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s   t   Child1c           B   s   e  Z RS(    (   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   $   s   t   Child2c           B   s   e  Z RS(    (   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR	   (   s   t   Parentc           B   s   e  Z RS(    (   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR
   ,   s   t   Screenc           B   s   e  Z d d   Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   t   objt   parent(   t   selfR   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyt   __init__1   s    	N(   R   R   t   NoneR   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   0   s   t   Fooc           B   s#   e  Z d    Z e j Z d   Z RS(   c         C   s   d |  _  d |  _ | |  _ d  S(   Ns   im datas   im stuff(   t   datat   stufft   moredata(   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   7   s    		c         C   s4   | j  |  j  k o3 | j |  j k o3 | j |  j k S(   N(   R   R   R   (   R   t   other(    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyt   __eq__>   s    (   R   R   R   t   objectt   __hash__R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   6   s   		t   Barc           B   s,   e  Z d    Z e j Z d   Z d   Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   t   xt   y(   R   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   G   s    	c         C   s4   | j  |  j  k o3 | j |  j k o3 | j |  j k S(   N(   t	   __class__R   R   (   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   M   s    c         C   s   d |  j  |  j f S(   Ns   Bar(%d, %d)(   R   R   (   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyt   __str__T   s    (   R   R   R   R   R   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   F   s   			t	   OldSchoolc           B   s   e  Z d    Z d   Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   R   R   (   R   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   Y   s    	c         C   s4   | j  |  j  k o3 | j |  j k o3 | j |  j k S(   N(   R   R   R   (   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   ]   s    (   R   R   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   X   s   	t   OldSchoolWithoutComparec           B   s   e  Z d    Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   R   R   (   R   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   f   s    	(   R   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   e   s   t   BarWithoutComparec           B   s   e  Z d    Z d   Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   R   R   (   R   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   l   s    	c         C   s   d |  j  |  j f S(   Ns   Bar(%d, %d)(   R   R   (   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   p   s    (   R   R   R   R   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR    k   s   	t   NotComparablec           B   s,   e  Z d    Z d   Z d   Z d   Z RS(   c         C   s   | |  _  d  S(   N(   R   (   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   u   s    c         C   s
   t  |   S(   N(   t   id(   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   x   s    c         C   s   t  S(   N(   t   NotImplemented(   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR   {   s    c         C   s   t  S(   N(   R#   (   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyt   __ne__~   s    (   R   R   R   R   R   R$   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR!   t   s   			t   BrokenComparablec           B   s,   e  Z d    Z d   Z d   Z d   Z RS(   c         C   s   | |  _  d  S(   N(   R   (   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s    c         C   s
   t  |   S(   N(   R"   (   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s    c         C   s
   t   d  S(   N(   t   NotImplementedError(   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR      s    c         C   s
   t   d  S(   N(   R&   (   R   R   (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR$      s    (   R   R   R   R   R   R$   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyR%      s   			N(    (    (   t   __doc__t    R    t   ComparableEntityR   R   R   R   R   R   R	   R
   R   R   R   R   R   R   R    R!   R%   (    (    (    s<   lib/python2.7/site-packages/sqlalchemy/testing/pickleable.pyt   <module>
   s"   	