On Tue, Dec 22, 2020 at 06:33:41PM -0500, Alan G. Isaac wrote:
> This comment completely misses the point.
> This "weird type" qualifies as a Sequence.
> (See collections.abc.)
It's not weird because of the sequence abc, it's weird because of its
treatment of equality, using the `==` operator as
On Tue, 22 Dec 2020 19:32:15 +
David Mertz wrote:
>
> If you know you might be dealing with NumPy arrays (as the import
> suggests), I think it's simply right to spell it as:
>
> unittest.TestCase().assertTrue(np.array_equal([1., 2., 3.], np.array([1.,
> 2., 3.])))
Please don't suggest this