Closed arbennett closed 4 years ago
Hello @arbennett,
This makes so much sense. Thank you very much for pointing this out to me. I've added more tolerant assertions now as you've suggested (for arrays and DataFrames). I will close this issue but feel free to reopen if I have not addressed your suggestion sufficiently.
When running tests the
test_corb
function fails with the message:It looks like this error is being thrown most likely due to slight version differences, numerical roundoff, or differences in machine architectures since the actual values are very close. Perhaps instead of looking for absolute equality these tests could use something like
np.allclose
?