def METHOD_NAME(mapdl, cleared):
    if ON_CI and mapdl.version >= 23.2:
        context = pytest.raises(
            MapdlRuntimeError, match="Specified library does not exist."
        )
    elif ON_CI and mapdl.version == 23.1:
        context = pytest.raises(MapdlCommandIgnoredError, match="does not exist")
    elif ON_CI and ON_LOCAL:
        context = pytest.raises(AssertionError)
    elif ON_CI:
        context = pytest.raises(MapdlCommandIgnoredError, match="anf does not exist.")
    else:
        context = NullContext()
    with context:
        mapdl.parain(
            name="CubeWithHole", extension="x_t", path=CADs_path, entity="solid", fmt=0
        )
        assert geometry_test_is_correct(mapdl)
    clear_wkdir_from_cads(mapdl)