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