def test_is_path_too_long() -> None:
        """Test ``validate_path`` raises ValueError for a path that is too long."""
        with pytest.raises(ValueError, match=r"Path is too long: *"):
            validate_path("/" * 1000)
Test ``validate_path`` raises ValueError for a path that is too long.
tests/unit/data/utils/test_path.py