diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index a5f2ffccd..81a5c74e1 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -26,7 +26,6 @@ import re import sys import time import os.path -import collections import pytest from PyQt5.QtCore import pyqtSignal @@ -120,7 +119,7 @@ class QuteProc(testprocess.Process): url_loaded_pattern.match(log_line.message)): self.url_loaded.emit() elif log_line.loglevel in ['WARNING', 'ERROR']: - self.got_error.emit() + self.got_error.emit() return log_line diff --git a/tests/integration/test_quteprocess.py b/tests/integration/test_quteprocess.py index 373afe1e3..e891eea80 100644 --- a/tests/integration/test_quteprocess.py +++ b/tests/integration/test_quteprocess.py @@ -21,8 +21,6 @@ import pytest -import testprocess # pylint: disable=import-error - def test_quteproc_error_message(qtbot, quteproc): """Make sure the test fails with an unexpected error message."""