← Back to team overview

python-quantities-developers team mailing list archive

assert_almost_equal and numpy.Inf

 

Do you know why

assert_almost_equal(numpy.Inf, numpy.Inf)

fails? I get

"    assert_almost_equal(numpy.Inf, numpy.Inf)
AssertionError: inf != inf within 7 places"

Sorry I have been inactive recently; I have been very busy. I am writing
unit tests for a set of ufuncs that I should be able to push soon.

John

Follow ups