code: def test_incorrect_parameters():
      """Ensure incorrect parameters raise errors."""
      _test_incorrect_parameters(pairwise_distance)
  
file_path: sktime/sktime/distances/tests/test_pairwise_distances.py
imports: from typing import Callable
  import numpy
  import pytest
  from sktime.distances._distance import _METRIC_INFOS, pairwise_distance
  from sktime.distances._numba_utils import _make_3d_series
  from sktime.distances.base import MetricInfo, NumbaDistance
  from sktime.distances.tests._shared_tests import _test_incorrect_parameters, _test_metric_parameters
  from sktime.distances.tests._utils import create_test_distance_numpy
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 6 for calling a global function with example usage: test_incorrect_parameters() without return types