def test_nonexistent_directory(dataset_path: Path) -> None:
        """Test ``validate_path`` raises FileNotFoundError for a nonexistent directory."""
        with pytest.raises(FileNotFoundError):
            validate_path(dataset_path / "nonexistent/directory")
Test ``validate_path`` raises FileNotFoundError for a nonexistent directory.
tests/unit/data/utils/test_path.py