def test_quteproc_skip_and_wait_for(qtbot, quteproc):
 with pytest.raises(pytest.skip.Exception):
  quteproc.send_cmd(':jseval console.log("[SKIP] foo");')
  quteproc.wait_for_js('[SKIP] foo')
  quteproc.wait_for(message='This will not match')

def test_quteproc_skip_and_wait_for ( qtbot , quteproc ) : with pytest . raises ( pytest . skip . Exception ) : quteproc . send_cmd ( ':jseval console.log("[SKIP] foo");' ) quteproc . wait_for_js ( '[SKIP] foo' ) quteproc . wait_for ( message = 'This will not match' )
this test will skip *again* during teardown .