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)
Check that the output dtype is the expected one.
pyts/multivariate/transformation/tests/test_weasel_muse.py