From d4fa460d29667c95c22b3dd90388839dc3c54014 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 11 Dec 2024 08:17:33 -0300 Subject: [PATCH] Fix test_catch_exceptions_in_virtual_methods for pyside6 The latest release seems to have changed the message: ``` ValueError: Error calling Python override of QObject::event(): mistakes were made' ``` --- tests/test_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py index 70af219..8627f9b 100644 --- a/tests/test_exceptions.py +++ b/tests/test_exceptions.py @@ -59,7 +59,7 @@ def test_exceptions(qtbot): expected_lines = [ "*RuntimeError: original error", "*app.sendEvent*", - "*ValueError: mistakes were made*", + "*ValueError:*mistakes were made*", "*1 failed*", ] else: