code: def test_subspace_include(T, m):
      motif_idx = 1
      nn_idx = 4
      for width in range(T.shape[0]):
          for i in range(T.shape[0] - width):
              include = np.asarray(range(i, i + width + 1))
  
              for k in range(T.shape[0]):
                  ref_S = naive.subspace(
                      T, m, motif_idx, nn_idx, k, include
                  )
                  comp_S = subspace(T, m, motif_idx, nn_idx, k, include)
                  npt.assert_almost_equal(ref_S, comp_S)
  
imports: import functools
  import naive
  import numpy
  import numpy.testing
  import pandas
  import pytest
  from stumpy import config, core, mdl, mstump, subspace
  from stumpy.mstump import _get_first_mstump_profile, _get_multi_QT, _multi_mass, multi_distance_profile
label_desc: Use image node_id 8 for calling a global function with example usage: test_subspace_include(T, m) without return types