diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py
index 47b991868b..c38baac7bf 100644
--- a/src/calibre/test_build.py
+++ b/src/calibre/test_build.py
@@ -275,6 +275,14 @@ class BuildTest(unittest.TestCase):
from calibre.library.comments import sanitize_comments_html
sanitize_comments_html(b'''xxx
''')
+ def test_feedparser(self):
+ from calibre.web.feeds.feedparser import parse
+ # sgmllib is needed for feedparser parsing malformed feeds
+ # on python3 you can get it by taking it from python2 stdlib and
+ # running 2to3 on it
+ import sgmllib
+ sgmllib, parse
+
def test_openssl(self):
import ssl
ssl.PROTOCOL_TLSv1_2