code: def test_validation() -> None:
      with pytest.raises(hip.ExperimentValidationError):
          hip.Datapoint(uid="x", values={"uid": "y"}).validate()
  
imports: import tempfile
  import shutil
  from contextlib import contextmanager
  from unittest.mock import patch
  import typing
  import pytest
  import pandas
  import optuna
  import hiplot
label_desc: Use image node_id 8 for calling a global function with example usage: test_validation() without return types