def METHOD_NAME(tmp_dir, dvc, scm, mocker):
    """Regression test for https://github.com/iterative/dvc/issues/9061"""
    setup_stage(tmp_dir, dvc, scm)
    new_dir = tmp_dir / "new_dir"
    new_dir.mkdir()
    (new_dir / "foo").write_text("foo")
    (new_dir / "bar").write_text("bar")
    logger = mocker.patch("dvc.repo.experiments.executor.base.logger")
    dvc.experiments.save(name="exp", include_untracked=["new_dir"])
    assert not logger.warning.called