def METHOD_NAME():
    stylesheet = tinycss2.parse_stylesheet(
        '@font-face { font-family: test; src: wrong }')
    with capture_logs() as logs:
        preprocess_stylesheet(
            'print', 'https://wp.org/foo/', stylesheet, None, None, None,
            None, None)
    assert logs == [
        'WARNING: Ignored `src: wrong ` at 1:33, invalid value.',
        "WARNING: Missing src descriptor in '@font-face' rule at 1:1"]