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.
This commit is contained in:
Florian Bruhin 2016-01-17 21:27:24 +01:00
parent 0936ed4e61
commit d6fafd474b

View File

@ -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],