Break long lines

This commit is contained in:
Florian Bruhin 2017-11-22 11:34:10 +01:00
parent 487951cd31
commit 72d466d236

View File

@ -682,12 +682,12 @@ class QuteProc(testprocess.Process):
qurl.errorString())) qurl.errorString()))
if qurl == QUrl('about:blank'): if qurl == QUrl('about:blank'):
# For some reason, we don't get a LoadStatus.success for about:blank # For some reason, we don't get a LoadStatus.success for
# sometimes. # about:blank sometimes.
pattern = "Changing title for idx * to 'about:blank'" pattern = "Changing title for idx * to 'about:blank'"
else: else:
# We really need the same representation that the webview uses in its # We really need the same representation that the webview uses in
# __repr__ # its __repr__
url = utils.elide(qurl.toDisplayString(QUrl.EncodeUnicode), 100) url = utils.elide(qurl.toDisplayString(QUrl.EncodeUnicode), 100)
assert url assert url