def assert_not_equal_comparison(case, a, b):
 equal = (a == b)
 unequal = (a != b)
 messages = []
 if equal:
  messages.append('a == b evaluated to True')
 if (not unequal):
  messages.append('a != b evaluated to False')
 if messages:
  case.fail(('Expected a and b to be not-equal: ' + '; '.join(messages)))

def assert_not_equal_comparison ( case , a , b ) : equal = ( a == b ) unequal = ( a != b ) messages = [ ] if equal : messages . append ( 'a == b evaluated to True' ) if ( not unequal ) : messages . append ( 'a != b evaluated to False' ) if messages : case . fail ( ( 'Expected a and b to be not-equal: ' + '; ' . join ( messages ) ) )
assert that a does not equal b .