code: def test_serde_toplevel_error(tmpdir: str, obj: Any):
      path = Path(tmpdir)
      with pytest.raises(ValueError):
          to_disk(obj, path)
  
imports: from camphr.serde import from_disk, _get_fullname, SerDe, Path, to_disk
  import pytest
  from typing import Any, Tuple, Type
  from .utils import Dummy, DummySerde
label_desc: Use image node_id 3 for calling a global function with example usage: test_serde_toplevel_error(tmpdir, obj) without return types