TST: Better handle np.array_equal() edge cases
Merge pull request #5371 from jtratner/catch-errors-array-equal

TST: Better handle np.array_equal() edge cases