def vereq(a, b):
 if (not (a == b)):
  raise TestFailed(('%r == %r' % (a, b)))

def vereq ( a , b ) : if ( not ( a == b ) ) : raise TestFailed ( ( '%r == %r' % ( a , b ) ) )
raise testfailed if a == b is false .