Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: utils
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:Alert Production F16 - 8
-
Team:Alert Production
Description
afw.math added equality helper method, e.g. assertImageEqual, that just call the appropriate NearlyEqual method with tolerance of 0. It would be good to have equivalent "assertArrayEqual" and "assertArrayNotEqual" methods that wrap assertClose, which has some useful functionality (e.g. plotting) beyond what numpy.testing.allClose provides.
Thank you for all the feedback. This has been merged to master and pushed. I'll announce on hipchat the changes, as those working on py.test updates will likely want them.