<s> "<STR_LIT>" <EOL> import unittest <EOL> from test import test_support <EOL> class UnicodeDerivedCmp ( unittest . TestCase ) : <EOL> "<STR_LIT>" <EOL> def testCompareWithString ( self ) : <EOL> class Test ( unicode ) : <EOL> pass <EOL> test = Test ( '<STR_LIT>' ) <EOL> self . assertNotEqual ( test , { <NUM_LIT:1> : <NUM_LIT:1> } ) <EOL> def testCompareEmptyDerived ( self ) : <EOL> class A ( unicode ) : pass <EOL> class B ( unicode ) : pass <EOL> self . assertEqual ( A ( ) , B ( ) ) <EOL> class LongDerivedCmp ( unittest . TestCase ) : <EOL> def testCompareWithString ( self ) : <EOL> class Test ( long ) : <EOL> pass <EOL> self . assertNotEqual ( Test ( <NUM_LIT:0> ) , '<STR_LIT:foo>' ) <EOL> self . assertTrue ( '<STR_LIT:foo>' in [ Test ( <NUM_LIT:12> ) , '<STR_LIT:foo>' ] ) <EOL> def test_main ( ) : <EOL> test_support . run_unittest ( UnicodeDerivedCmp , LongDerivedCmp ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> test_main ( ) </s>
