aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/registry/scrape_testresults.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-28 10:56:58 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-28 11:43:03 +0100
commitea5ce2e4080a99c43b9a330e34588fb1f25c7e45 (patch)
tree603f71391656bfde3690fe18b916cd4bf0ef2ad1 /sources/pyside6/tests/registry/scrape_testresults.py
parent3ad6f139ddd792b24e8c15c847f3e5db3eac3bf3 (diff)
Tests: Fix some flake warnings
Mostly spacing related. Pick-to: 6.6 Change-Id: I748a8a06f456c5d4bafb94c397c43b3b2ee9e3e9 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/tests/registry/scrape_testresults.py')
-rw-r--r--sources/pyside6/tests/registry/scrape_testresults.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/registry/scrape_testresults.py b/sources/pyside6/tests/registry/scrape_testresults.py
index a6e3b048b..b7b6b58aa 100644
--- a/sources/pyside6/tests/registry/scrape_testresults.py
+++ b/sources/pyside6/tests/registry/scrape_testresults.py
@@ -212,7 +212,7 @@ def handle_suburl(idx, n, url, level):
print(os.getpid(), test_name)
response = read_url(sub_url)
txt = response.text if response else ''
- if "BEGIN_FILE" in txt and not "'BEGIN_FILE'" in txt:
+ if "BEGIN_FILE" in txt and "'BEGIN_FILE'" not in txt:
# find the text, but not a traceback with that text
print(os.getpid(), test_name, "FOUND!")
write_data(test_name, response.text)