Skip to content

Commit

Permalink
Fix test_catch_exceptions_in_virtual_methods for pyside6
Browse files Browse the repository at this point in the history
The latest release seems to have changed the message:

```
ValueError: Error calling Python override of QObject::event(): mistakes were made'
```
  • Loading branch information
nicoddemus authored Dec 11, 2024
1 parent 00b49f1 commit d4fa460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d4fa460

Please sign in to comment.