check_is_eq#

pybrops.core.error.error_value_python.check_is_eq(v, vname, value)[source]#

Check if a Python object is equivalent to another Python object.

Parameters:
  • v (object) – A Python object.

  • vname (str) – Name of the Python object for use in the error message.

  • value (object) – Expected value of the input Python object.

Return type:

None