numpy.testing
Common test support for all numpy test scripts.
This single module should provide all the common functionality for numpy tests in a single location, so that test scripts can just import it and work right away. For background, see the Testing Guidelines
https://docs.scipy.org/doc/numpy/reference/routines.testing.html
Examples
MetPy Mondays `#112 - What is 1 - 0.5? Testing Calculations! : Unidata Developer's Blog
https://www.unidata.ucar.edu/blogs/developer/en/entry/metpy-mondays-112-what-is
assert_almost_equal
https://docs.scipy.org/doc/numpy/reference/generated/numpy.testing.assert_almost_equal.html#numpy.testing.assert_almost_equal