def test_neg_type___clrtype__():
 AssertErrorWithMessage(TypeError, '__clrtype__() takes exactly 1 argument (0 given)', type.__clrtype__)
 AssertErrorWithMessage(TypeError, '__clrtype__() takes exactly 1 argument (2 given)', type.__clrtype__, None, None)
 AssertErrorWithMessage(TypeError, '__clrtype__() takes exactly 1 argument (3 given)', type.__clrtype__, None, None, None)
 AssertErrorWithPartialMessage(TypeError, ', got NoneType', type.__clrtype__, None)
 AssertErrorWithPartialMessage(TypeError, ', got float', type.__clrtype__, 3.14)
 for x in [None, [], (None,), Exception('message'), 3.14, 3L, 0, 5j, 'string', u'string', True, System, _os, os, exit, (lambda : 3.14)]:
  AssertError(TypeError, type.__clrtype__, x)
 AssertErrorWithMessage(AttributeError, "attribute '__clrtype__' of 'type' object is read-only", setattr, type, '__clrtype__', None)

def test_neg_type___clrtype__ ( ) : AssertErrorWithMessage ( TypeError , '__clrtype__() takes exactly 1 argument (0 given)' , type . __clrtype__ ) AssertErrorWithMessage ( TypeError , '__clrtype__() takes exactly 1 argument (2 given)' , type . __clrtype__ , None , None ) AssertErrorWithMessage ( TypeError , '__clrtype__() takes exactly 1 argument (3 given)' , type . __clrtype__ , None , None , None ) AssertErrorWithPartialMessage ( TypeError , ', got NoneType' , type . __clrtype__ , None ) AssertErrorWithPartialMessage ( TypeError , ', got float' , type . __clrtype__ , 3.14 ) for x in [ None , [ ] , ( None , ) , Exception ( 'message' ) , 3.14 , 3 L , 0 , 5j , 'string' , u'string' , True , System , _os , os , exit , ( lambda : 3.14 ) ] : AssertError ( TypeError , type . __clrtype__ , x ) AssertErrorWithMessage ( AttributeError , "attribute '__clrtype__' of 'type' object is read-only" , setattr , type , '__clrtype__' , None )
tests out negative type .