From 9c9f48576ecda8e446bbeb87d8306d4fffe9019b Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Mon, 9 May 2022 16:25:44 +0200 Subject: [PATCH] L2SS-785: Fix geohash tests and precision --- tangostationcontrol/tangostationcontrol/test/beam/test_geo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tangostationcontrol/tangostationcontrol/test/beam/test_geo.py b/tangostationcontrol/tangostationcontrol/test/beam/test_geo.py index d7c1f8ea9..22def29f3 100644 --- a/tangostationcontrol/tangostationcontrol/test/beam/test_geo.py +++ b/tangostationcontrol/tangostationcontrol/test/beam/test_geo.py @@ -77,7 +77,7 @@ class TestGEO_to_GEOHASH(base.TestCase): GEO_coords = numpy.array([1.0, 1.0]) GEOHASH_coords = GEO_to_GEOHASH(GEO_coords) - self.assertEqual(str, type(GEOHASH_coords.shape)) + self.assertEqual(str, type(GEOHASH_coords)) def test_convert_array(self): """ Convert an array of coordinates. """ -- GitLab