code: def test_output_dtype(params, type_desired):
      """Check that the output dtype is the expected one."""
      transformer = WEASELMUSE(**params)
      output = transformer.fit_transform(X, y)
      assert isinstance(output, type_desired)
  
imports: import numpy
  import pytest
  from scipy.sparse import csr_matrix
  from pyts.multivariate.transformation import WEASELMUSE
label_desc: Use image node_id 1 for calling a global function with example usage: test_output_dtype(params, type_desired) without return types