TST: fix equal comparison of float arrays in spatial.distance tests.
TST: fix equal comparison of float arrays in spatial.distance tests.

Closes gh-2482.

datamade/hcluster,datamade/hcluster,datamade/hcluster