<s> import unittest <EOL> import test . test_support <EOL> class SubclassInstanceTest ( unittest . TestCase ) : <EOL> def test_subclass_int ( self ) : <EOL> try : <EOL> class foo ( <NUM_LIT:12> ) : pass <EOL> except TypeError : <EOL> pass <EOL> else : <EOL> self . fail ( "<STR_LIT>" ) <EOL> def test_main ( ) : <EOL> test . test_support . run_unittest ( SubclassInstanceTest ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> test_main ( ) </s>
