From 1715d5a6fa9b6169a0119118300b8d55488ddabe Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Tue, 8 Jun 2021 15:13:17 +0800 Subject: [PATCH] error on presence of "Exception:" and "Error:" --- examples/test_examples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/test_examples.py b/examples/test_examples.py index e370f0db..9b7e75be 100644 --- a/examples/test_examples.py +++ b/examples/test_examples.py @@ -205,8 +205,8 @@ except: process.stderr.close() if (fail or - 'exception' in stderr.lower() or - 'error' in stderr.lower()): + 'Exception:' in stderr or + 'Error:' in stderr): if (not fail and name == "RemoteGraphicsView" and "pyqtgraph.multiprocess.remoteproxy.ClosedError" in stderr):