Skip to content

Commit 2292ed0

Browse files
committed
Merge pull request #51 from The-Compiler/wait-test
Add signal_blocker_exception test for waitSignals.
2 parents e52181a + 1f85d08 commit 2292ed0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytestqt/_tests/test_wait_signal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def test_signal_blocker_exception(qtbot):
1717
"""
1818
with pytest.raises(ValueError):
1919
qtbot.waitSignal(None, None).wait()
20+
with pytest.raises(ValueError):
21+
qtbot.waitSignals([], None).wait()
2022

2123

2224
def explicit_wait(qtbot, signal, timeout, multiple, raising, should_raise):

0 commit comments

Comments
 (0)