From 8bef21a4d5f80a2bd1468b543fcf596f89140630 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 2 May 2019 09:38:11 -0400 Subject: [PATCH] More permissive log check for #3247 --- test/test_replaygain.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/test_replaygain.py b/test/test_replaygain.py index f750f3012..81da7139e 100644 --- a/test/test_replaygain.py +++ b/test/test_replaygain.py @@ -200,10 +200,7 @@ class ReplayGainLdnsCliMalformedTest(TestHelper, unittest.TestCase): # Count how many lines match the expected error. matching = [line for line in logs if - line == 'replaygain: ReplayGain error: bs1770gain ' - 'returned malformed XML - this is a bug in ' - 'versions prior to v0.4.10, please ensure that ' - 'your version is up to date'] + 'malformed XML' in line] self.assertEqual(len(matching), 2)