summaryrefslogtreecommitdiff
path: root/tests/unit/utils/test_qtutils.py
diff options
context:
space:
mode:
authorsiddhugolu <siddhugolu@gmail.com>2017-10-23 01:46:02 +0530
committersiddhugolu <siddhugolu@gmail.com>2017-10-23 01:46:02 +0530
commitbc9d3053544addbfbb8c428e2be36bcbe7d3470c (patch)
tree88cdb906452641db9cc034eecf4b26ed4405f7d3 /tests/unit/utils/test_qtutils.py
parent4862b2faf989c04df32e17556cef6b2e088cff22 (diff)
downloadqutebrowser-bc9d3053544addbfbb8c428e2be36bcbe7d3470c.tar.gz
qutebrowser-bc9d3053544addbfbb8c428e2be36bcbe7d3470c.zip
modified as requested
Diffstat (limited to 'tests/unit/utils/test_qtutils.py')
-rw-r--r--tests/unit/utils/test_qtutils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/utils/test_qtutils.py b/tests/unit/utils/test_qtutils.py
index 42f8030db..d580d677a 100644
--- a/tests/unit/utils/test_qtutils.py
+++ b/tests/unit/utils/test_qtutils.py
@@ -702,12 +702,12 @@ class TestPyQIODevice:
whence = os.SEEK_HOLE
elif hasattr(os, 'SEEK_DATA'):
whence = os.SEEK_DATA
+ # pylint: enable=no-member,useless-suppression
else:
pytest.skip("Needs os.SEEK_HOLE or os.SEEK_DATA available.")
pyqiodev.open(QIODevice.ReadOnly)
with pytest.raises(io.UnsupportedOperation):
pyqiodev.seek(0, whence)
- # pylint: enable=no-member,useless-suppression
@pytest.mark.flaky()
def test_qprocess(self, py_proc):
@@ -907,4 +907,3 @@ class TestEventLoop:
QTimer.singleShot(400, self.loop.quit)
self.loop.exec_()
assert not self.loop._executing
- # pylint: enable=attribute-defined-outside-init