I want to make some unit-tests for my app, and I need to compare two arrays. Since
array.__eq__ returns a new array (so
TestCase.assertEqual fails), what is the best way to assert for equality?
Currently I’m using
self.assertTrue((arr1 == arr2).all())
but I don’t really like it