def test_assert_SKIP_failure(capsys):
    pass_msg = 'PASS message'
    skip_reason = 'SKIP reason'
    results = [(SKIP,), (PASS, pass_msg)]
    with pytest.raises(AssertionError):
        assert_SKIP(results, skip_reason)
    captured = capsys.readouterr()
    assert (captured.out == f'''Test SKIP {skip_reason}
''')
def test_assert_SKIP_failure(capsys):
    pass_msg = 'PASS message'
    skip_reason = 'SKIP reason'
    results = [(SKIP,), (PASS, pass_msg)]
    with pytest.raises(AssertionError):
        assert_SKIP(results, skip_reason)
    captured = capsys.readouterr()
    assert (captured.out == f'Test SKIP {skip_reason}
')