From 5a654a59a63070f6a97674d172b202b51a58fcec Mon Sep 17 00:00:00 2001 From: nbokulich Date: Sun, 9 Dec 2018 15:08:10 -0600 Subject: [PATCH] test_geodesic_distance almost equal --- q2_coordinates/tests/test_mapper.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/q2_coordinates/tests/test_mapper.py b/q2_coordinates/tests/test_mapper.py index f2910e2..6fa7691 100644 --- a/q2_coordinates/tests/test_mapper.py +++ b/q2_coordinates/tests/test_mapper.py @@ -40,11 +40,7 @@ def test_geodesic_distance(self): exp = qiime2.Artifact.load(self.get_data_path( 'geodesic_distance_matrix.qza')).view(DistanceMatrix) dm = dm.view(DistanceMatrix) - error_msg = '\nobs IDs: {0}\nexp IDs: {1}\nobs:\n{2}\nexp:\n{3}' - np.set_printoptions(threshold=np.inf) np.testing.assert_array_almost_equal(dm.data, exp.data, decimal=3) - self.assertTrue(dm == exp, msg=error_msg.format( - dm.ids, exp.ids, dm.data, exp.data)) class TestCoordMethods(CoordinatesTestPluginBase):