From 079d5ddd7f257c78ffd295743ff278626187be04 Mon Sep 17 00:00:00 2001 From: funilrys Date: Wed, 28 Feb 2018 23:22:32 +0100 Subject: [PATCH] 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. --- updateHostsFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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