code: def test_consistent_with_stumpy():
      pytest.importorskip("stumpy")
      import stumpy
      from tslearn.matrix_profile import MatrixProfile
  
      rng = np.random.RandomState(0)
      X = rng.randn(1, 20, 1)
      X_stumpy = X.ravel()
  
      mp = MatrixProfile(subsequence_length=10)
      mp_stumpy = MatrixProfile(
          subsequence_length=10, implementation="stump"
      )
  
      X_tr = mp.fit_transform(X)
      X_tr_stumpy_wrap = mp_stumpy.fit_transform(X)
      X_tr_stumpy = stumpy.stump(X_stumpy, m=10)[:, 0].astype(float)
  
      np.testing.assert_allclose(X_tr.ravel(), X_tr_stumpy)
      np.testing.assert_allclose(X_tr, X_tr_stumpy_wrap)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_consistent_with_stumpy() without return types