code: def test_add_hookspecs_nohooks(pm):
      with pytest.raises(ValueError):
          pm.add_hookspecs(10)
  
imports: import pytest
  import types
  from pluggy import PluginManager, PluginValidationError, HookCallError, HookimplMarker, HookspecMarker
  from pluggy.manager import importlib_metadata
label_desc: Use image node_id 19 for calling a global function with example usage: test_add_hookspecs_nohooks(pm) without return types