Skip to content

Commit

Permalink
pylint: Disable no-member for http.client.*
Browse files Browse the repository at this point in the history
Seems like this is potentially the same issue as
pylint-dev/pylint#399, it also happens on the same
machines.
  • Loading branch information
The-Compiler committed Jan 17, 2016
1 parent 0936ed4 commit d6fafd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/webserver.py
Expand Up @@ -60,6 +60,8 @@ def __init__(self, data):

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],
Expand Down

0 comments on commit d6fafd4

Please sign in to comment.