code: def test_z_normalise_series(type):
      """Test the function z_normalise_series."""
      from sktime.utils.numba.general import z_normalise_series
  
      a = np.array([2, 2, 2], dtype=type)
      a_expected = np.array([0, 0, 0], dtype=type)
      a_result = z_normalise_series(a)
      assert_array_equal(a_result, a_expected)
  
imports: import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 1 for calling a global function with example usage: test_z_normalise_series(type) without return types