parameters: (self, actual, expected, tol=1e-2)
docstring: Helper function that prints out actual and expected if not equal.
docstring_summary: Helper function that prints out actual and expected if not equal.
docstring_tokens: Helper function that prints out actual and expected if not equal .
function: def assertPose2Equals(self, actual, expected, tol=1e-2):
          """Helper function that prints out actual and expected if not equal."""
          equal = actual.equals(expected, tol)
          if not equal:
              raise self.failureException(
                  "Poses are not equal:\n{}!={}".format(actual, expected))
function_tokens: def assertPose2Equals ( self , actual , expected , tol = 1e-2 ) : equal = actual . equals ( expected , tol ) if not equal : raise self . failureException ( "Poses are not equal:\n{}!={}" . format ( actual , expected ) )