Use numpy.testing functions in tests