TST: numpy.testing assertions already report the actual and desired values; also use a more sophisticated warning assertion