def test_method_del():
 try:
  del com_obj.m0
  Fail('Should have been an AttributeError when attempting to delete a class method.')
 except AttributeError as e:
  pass

def test_method_del ( ) : try : del com_obj . m0 Fail ( 'Should have been an AttributeError when attempting to delete a class method.' ) except AttributeError as e : pass
also some coverage in test_as_callable_obj .