def METHOD_NAME() -> None:
    """Test that the try-body is linked to the correct except block when there are duplicate except
    clauses."""
    src = """
    try:
        raise RuntimeError
    except RuntimeError:
        print('oh no!')
    except RuntimeError:
        pass
    """
    expected_unreachable_blocks = [["pass"]]
    assert _extract_unreachable_blocks(build_cfg(src)) == expected_unreachable_blocks