diff options
Diffstat (limited to 'tests/unit/misc/test_msgbox.py')
-rw-r--r-- | tests/unit/misc/test_msgbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/misc/test_msgbox.py b/tests/unit/misc/test_msgbox.py index 74422ea45..e2ea48fff 100644 --- a/tests/unit/misc/test_msgbox.py +++ b/tests/unit/misc/test_msgbox.py @@ -95,7 +95,7 @@ def test_information(qtbot): def test_no_err_windows(fake_args, capsys): fake_args.no_err_windows = True box = msgbox.information(parent=None, title='foo', text='bar') - box.exec_() # should do nothing + box.exec() # should do nothing out, err = capsys.readouterr() assert not out assert err == 'Message box: foo; bar\n' |