From 8dba8f74918f1e8b7358efbb017f17e999ae6331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Gru=CC=88ndger?= Date: Sun, 11 Oct 2020 14:52:27 +0200 Subject: [PATCH] Fixed broken test on Travis CI --- tests/parser/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/parser/test_utils.py b/tests/parser/test_utils.py index f038b0a..dab012f 100644 --- a/tests/parser/test_utils.py +++ b/tests/parser/test_utils.py @@ -46,7 +46,7 @@ class TestStringMethods(unittest.TestCase): cheap_ruler = CheapRuler((koenigsdf[1] + hochkoenig[1]) / 2) distance = cheap_ruler.distance(koenigsdf, hochkoenig) - self.assertEqual(distance, 128381.47612138899) + self.assertAlmostEqual(distance, 128381.47612138899) if __name__ == '__main__':