summaryrefslogtreecommitdiff
path: root/tests/unit/utils/test_qtutils.py
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2018-07-16 14:33:11 +0200
committerFlorian Bruhin <git@the-compiler.org>2018-07-16 14:33:11 +0200
commite50b6912a728ea219d85485ca1bb6395c33be9e9 (patch)
tree1750fd3dbb9aab1c51cb2c3d2a513d4b8a8a8c5c /tests/unit/utils/test_qtutils.py
parentb1d508a3afa16c10f8ac9ea1caaf1756a2aaed3b (diff)
downloadqutebrowser-e50b6912a728ea219d85485ca1bb6395c33be9e9.tar.gz
qutebrowser-e50b6912a728ea219d85485ca1bb6395c33be9e9.zip
Fix pylint 2.0 useless-return cases
See https://github.com/PyCQA/pylint/issues/2300
Diffstat (limited to 'tests/unit/utils/test_qtutils.py')
-rw-r--r--tests/unit/utils/test_qtutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/utils/test_qtutils.py b/tests/unit/utils/test_qtutils.py
index 3a848474f..0825d1fb3 100644
--- a/tests/unit/utils/test_qtutils.py
+++ b/tests/unit/utils/test_qtutils.py
@@ -575,7 +575,7 @@ class FailingQIODevice(QIODevice):
self.setErrorString("Writing failed")
return -1
- def read(self, _maxsize):
+ def read(self, _maxsize): # pylint: disable=useless-return
"""Simulate failed read."""
self.setErrorString("Reading failed")
return None