From: funilrys Date: Wed, 28 Feb 2018 22:22:32 +0000 (+0100) Subject: Fix tests issue X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=079d5ddd7f257c78ffd295743ff278626187be04;p=stevenblack-hosts.git Fix tests issue This patch fix https://travis-ci.org/funilrys/hosts/jobs/347500695#L397 Please also note that I introduced that patch because we do not directly use lxml but it is required by BeautifulSup() to parse the HTML. --- diff --git a/updateHostsFile.py b/updateHostsFile.py index c714d92d5..5e0002983 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -24,7 +24,7 @@ import tempfile import time from glob import glob -import lxml +import lxml # noqa: F401 from bs4 import BeautifulSoup # Detecting Python 3 for version-dependent implementations