def assert_in(x, thing, msg=''):
 if (x not in thing):
  assert False, (msg or ('%r is not in %r' % (x, thing)))

def assert_in ( x , thing , msg = '' ) : if ( x not in thing ) : assert False , ( msg or ( '%r is not in %r' % ( x , thing ) ) )
checks that all names in in_ as in obj .