MCPcopy Create free account
hub / github.com/numpy/numpy / _build_err_msg

Function _build_err_msg

numpy/testing/_private/utils.py:495–498  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

493 usecomplex = False
494
495 def _build_err_msg():
496 header = ('Arrays are not almost equal to %d decimals' % decimal)
497 return build_err_msg([actual, desired], err_msg, verbose=verbose,
498 header=header)
499
500 if usecomplex:
501 if iscomplexobj(actual):

Callers 1

assert_almost_equalFunction · 0.85

Calls 1

build_err_msgFunction · 0.85

Tested by

no test coverage detected