code: def test_output_ndim(params):
      """Check that the number of dimensions is always 2."""
      transformer = WEASELMUSE(**params)
      ndim_actual = transformer.fit_transform(X, y).ndim
      assert ndim_actual == 2
  
imports: import numpy
  import pytest
  from scipy.sparse import csr_matrix
  from pyts.multivariate.transformation import WEASELMUSE
label_desc: Use image node_id 2 for calling a global function with example usage: test_output_ndim(params) without return types