From 4844a68bfca3ef66f4b44c9611ecac9e9a7b6062 Mon Sep 17 00:00:00 2001 From: George Edward Bulmer Date: Tue, 12 Dec 2017 21:42:10 +0000 Subject: [PATCH] Change a rogue re.fullmatch into a re.search. Sometimes tests were timing out. Perhaps with fullmatch these tests were rarely failing to parse the logs for the information. --- tests/end2end/fixtures/testprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end2end/fixtures/testprocess.py b/tests/end2end/fixtures/testprocess.py index eb7123388..7836ab79a 100644 --- a/tests/end2end/fixtures/testprocess.py +++ b/tests/end2end/fixtures/testprocess.py @@ -335,7 +335,7 @@ class Process(QObject): if expected is None: return True elif isinstance(expected, regex_type): - return expected.fullmatch(value) + return expected.search(value) elif isinstance(value, (bytes, str)): return utils.pattern_match(pattern=expected, value=value) else: