From 83862873efe473434f789164d68986cd79a98eb9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 May 2019 12:59:54 +0530 Subject: [PATCH] Remove workaround for different html5-parser versions in test as CI servers have been updated with up-to-date html5-parser --- src/calibre/library/comments.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/calibre/library/comments.py b/src/calibre/library/comments.py index ffb6282d9b..952cbeb79d 100644 --- a/src/calibre/library/comments.py +++ b/src/calibre/library/comments.py @@ -163,15 +163,12 @@ def find_tests(): '

lineone

\n

linetwo

'), ('a b&c\nf', - '

a b&c
f

'), + '

a b&c
f

'), ('a b\n\ncd', '

a b

cd

'), ]: cval = comments_to_html(pat) - # normalize
representations produced by different - # versions of html5-parser - cval = cval.replace('

', '
').replace('
', '
') self.assertEqual(cval, val) return unittest.defaultTestLoader.loadTestsFromTestCase(Test)