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:
parent
0936ed4e61
commit
d6fafd474b
@ -60,6 +60,8 @@ class Request(testprocess.Line):
|
|||||||
|
|
||||||
def _check_status(self):
|
def _check_status(self):
|
||||||
"""Check if the http status is what we expected."""
|
"""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 = {
|
path_to_statuses = {
|
||||||
'/favicon.ico': [http.client.NOT_FOUND],
|
'/favicon.ico': [http.client.NOT_FOUND],
|
||||||
'/does-not-exist': [http.client.NOT_FOUND],
|
'/does-not-exist': [http.client.NOT_FOUND],
|
||||||
|
Loading…
Reference in New Issue
Block a user