Skip to content

Commit f9f9bf0

Browse files
committed
excluding line from code coverage
this condition is tested in test_no_capture, but that test runs in another process and that is not captured by coverage
1 parent 3d6f80d commit f9f9bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytestqt/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def qtbot(qapp, request):
391391
no_capture = request.node.get_marker('qt_no_exception_capture') or \
392392
request.config.getini('qt_no_exception_capture')
393393
if no_capture:
394-
yield result
394+
yield result # pragma: no cover
395395
else:
396396
with capture_exceptions() as exceptions:
397397
yield result

0 commit comments

Comments
 (0)