From ee159c0a5e559be9570c3afd7515282c1f99ee7a Mon Sep 17 00:00:00 2001 From: zineb aly <aly.zineb.az@gmail.com> Date: Tue, 4 Feb 2020 09:37:20 +0100 Subject: [PATCH] adapt repr test --- tests/test_offline.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_offline.py b/tests/test_offline.py index 63ea2ed..09dc0b3 100644 --- a/tests/test_offline.py +++ b/tests/test_offline.py @@ -429,6 +429,4 @@ class TestOfflineTrack(unittest.TestCase): def test_str(self): self.assertEqual(repr(self.track).split('\n\t')[0], 'offline track:') - self.assertEqual( - repr(self.track).split('\n\t')[28], - 'JGANDALF_LAMBDA : 4.2409761837248484e-12') + self.assertTrue("JGANDALF_LAMBDA" in repr(self.track)) -- GitLab