code: def test_parameter_check(x, y, err_msg):
      """Test parameter validation."""
      with pytest.raises(ValueError, match=re.escape(err_msg)):
          boss(x, y)
  
imports: import numpy
  import pytest
  import re
  from math import sqrt
  from pyts.metrics import boss
label_desc: Use image node_id 1 for calling a global function with example usage: test_parameter_check(x, y, err_msg) without return types