From b906d92053ffd559938785b60beb89167ad861de Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 27 Feb 2018 10:06:11 +0100 Subject: [PATCH] Remove now uneeded pylint ignore --- tests/end2end/fixtures/webserver.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/end2end/fixtures/webserver.py b/tests/end2end/fixtures/webserver.py index 2bc4d1cf9..254b5ffaf 100644 --- a/tests/end2end/fixtures/webserver.py +++ b/tests/end2end/fixtures/webserver.py @@ -62,8 +62,6 @@ 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 path_to_statuses = { '/favicon.ico': [HTTPStatus.NOT_FOUND], '/does-not-exist': [HTTPStatus.NOT_FOUND], @@ -88,7 +86,6 @@ class Request(testprocess.Line): path_to_statuses[key] = [HTTPStatus.UNAUTHORIZED, HTTPStatus.OK] default_statuses = [HTTPStatus.OK, HTTPStatus.NOT_MODIFIED] - # pylint: enable=no-member sanitized = QUrl('http://localhost' + self.path).path() # Remove ?foo expected_statuses = path_to_statuses.get(sanitized, default_statuses)