From 975efe314e5ca5a48a12b14335b038f9d1ca8416 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 Jun 2016 08:41:35 +0530 Subject: [PATCH] Add a build test to check we are using the correct html5lib --- src/calibre/test_build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index e9ade03cda..3ec022eb3f 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -48,6 +48,9 @@ class BuildTest(unittest.TestCase): def test_html5lib(self): import html5lib.html5parser # noqa from html5lib import parse # noqa + # Test that we are using the calibre version of html5lib + from calibre.ebooks.oeb.polish.parsing import parse_html5 + parse_html5('

xxx') def test_spell(self): from calibre.spell.dictionary import test_dictionaries