From d6fafd474bf8b7c0cdbb7bb74920450d035116a3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 17 Jan 2016 21:27:24 +0100 Subject: [PATCH] pylint: Disable no-member for http.client.* Seems like this is potentially the same issue as https://github.com/PyCQA/pylint/issues/399, it also happens on the same machines. --- tests/integration/webserver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/webserver.py b/tests/integration/webserver.py index a841e7f9c..d9dd40be3 100644 --- a/tests/integration/webserver.py +++ b/tests/integration/webserver.py @@ -60,6 +60,8 @@ class Request(testprocess.Line): def _check_status(self): """Check if the http status is what we expected.""" + # WORKAROUND for https://github.com/PyCQA/pylint/issues/399 (?) + # pylint: disable=no-member, useless-suppression path_to_statuses = { '/favicon.ico': [http.client.NOT_FOUND], '/does-not-exist': [http.client.NOT_FOUND],