code: def __assert_equal(expected, returned, assert_print_result=True):
          '''
          Test if two objects are equal
          '''
          result = "Pass"
  
          try:
              if assert_print_result:
                  assert (expected == returned), "{0} is not equal to {1}".format(expected, returned)
              else:
                  assert (expected == returned), "Result is not equal"
          except AssertionError as err:
              result = "Fail: " + six.text_type(err)
          return resulf __assert_equal(expected, returned, assert_print_result=True):
          '''
          Test if two objects are equal
          '''
          result = "Pass"
  
          try:
              if assert_print_result:
                  assert (expected == returned), "{0} is not equal to {1}".format(expected, returned)
              else:
                  assert (expected == returned), "Result is not equal"
          except AssertionError as err:
              result = "Fail: " + six.text_type(err)
          return result
docs: Test if two objects are equal