fix-ftbfs-i386
authorDebian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>
Tue, 13 Sep 2016 02:50:04 +0000 (03:50 +0100)
committerBW Keller <malzraa@gmail.com>
Tue, 13 Sep 2016 02:50:04 +0000 (03:50 +0100)
Gbp-Pq: Name fix-ftbfs-i386.patch

yt/utilities/tests/test_interpolators.py

index 694785eb76c40d8166570ddcd5d8257aa3912a28..4d97109a77c81da467d74dd4c99bda09a837771f 100644 (file)
@@ -49,7 +49,7 @@ def test_linear_interpolator_3d():
                np.mgrid[0.0:1.0:64j, 0.0:1.0:64j, 0.0:1.0:64j]))
     tfi = lin.TrilinearFieldInterpolator(random_data,
             (0.0, 1.0, 0.0, 1.0, 0.0, 1.0), "xyz", True)
-    yield assert_array_equal, tfi(fv), random_data
+    yield assert_array_almost_equal, tfi(fv), random_data
 
     # randomly spaced bins
     size = 64