5.22.1. testing.assert_allclose

eminus.testing.assert_allclose(actual, desired, *args, **kwargs)[source]

Raises an AssertionError if two objects are not equal up to desired tolerance.

Parameters:
  • actual – Array obtained.

  • desired – Array desired.

  • *args – Pass-through arguments.

Keyword Arguments:

**kwargs – Pass-through keyword arguments.