<s> """<STR_LIT>""" <EOL> from . import fixtures <EOL> class User ( fixtures . ComparableEntity ) : <EOL> pass <EOL> class Order ( fixtures . ComparableEntity ) : <EOL> pass <EOL> class Dingaling ( fixtures . ComparableEntity ) : <EOL> pass <EOL> class EmailUser ( User ) : <EOL> pass <EOL> class Address ( fixtures . ComparableEntity ) : <EOL> pass <EOL> class Child1 ( fixtures . ComparableEntity ) : <EOL> pass <EOL> class Child2 ( fixtures . ComparableEntity ) : <EOL> pass <EOL> class Parent ( fixtures . ComparableEntity ) : <EOL> pass <EOL> class Screen ( object ) : <EOL> def __init__ ( self , obj , parent = None ) : <EOL> self . obj = obj <EOL> self . parent = parent <EOL> class Foo ( object ) : <EOL> def __init__ ( self , moredata ) : <EOL> self . data = '<STR_LIT>' <EOL> self . stuff = '<STR_LIT>' <EOL> self . moredata = moredata <EOL> __hash__ = object . __hash__ <EOL> def __eq__ ( self , other ) : <EOL> return other . data == self . data and other . stuff == self . stuff and other . moredata == self . moredata <EOL> class Bar ( object ) : <EOL> def __init__ ( self , x , y ) : <EOL> self . x = x <EOL> self . y = y <EOL> __hash__ = object . __hash__ <EOL> def __eq__ ( self , other ) : <EOL> return other . __class__ is self . __class__ and other . x == self . x and other . y == self . y <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( self . x , self . y ) <EOL> class OldSchool : <EOL> def __init__ ( self , x , y ) : <EOL> self . x = x <EOL> self . y = y <EOL> def __eq__ ( self , other ) : <EOL> return other . __class__ is self . __class__ and other . x == self . x and other . y == self . y <EOL> class OldSchoolWithoutCompare : <EOL> def __init__ ( self , x , y ) : <EOL> self . x = x <EOL> self . y = y <EOL> class BarWithoutCompare ( object ) : <EOL> def __init__ ( self , x , y ) : <EOL> self . x = x <EOL> self . y = y <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( self . x , self . y ) <EOL> class NotComparable ( object ) : <EOL> def __init__ ( self , data ) : <EOL> self . data = data <EOL> def __hash__ ( self ) : <EOL> return id ( self ) <EOL> def __eq__ ( self , other ) : <EOL> return NotImplemented <EOL> def __ne__ ( self , other ) : <EOL> return NotImplemented <EOL> class BrokenComparable ( object ) : <EOL> def __init__ ( self , data ) : <EOL> self . data = data <EOL> def __hash__ ( self ) : <EOL> return id ( self ) <EOL> def __eq__ ( self , other ) : <EOL> raise NotImplementedError <EOL> def __ne__ ( self , other ) : <EOL> raise NotImplementedError </s>
