diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index 58f9f59a1..d068591d0 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -291,9 +291,9 @@ class QuteProc(testprocess.Process): # __repr__ url = utils.elide(QUrl(url).toDisplayString(QUrl.EncodeUnicode), 100) pattern = re.compile( - r"(load status for : LoadStatus.success|fetch: " - r"PyQt5.QtCore.QUrl\('{url}'\) -> .*)".format(url=re.escape(url))) + r"(load status for : LoadStatus\.success|fetch: " + r"PyQt5\.QtCore\.QUrl\('{url}'\) -> .*)".format(url=re.escape(url))) self.wait_for(message=pattern, timeout=timeout) def get_session(self):