code: def test_serialize_pipeline():
      D1 = muda.deformers.LogspaceTimeStretch()
      D2 = muda.deformers.LogspaceTimeStretch()
      P_orig = muda.Pipeline([("stretch_1", D1), ("stretch_2", D2)])
      P_ser = muda.serialize(P_orig)
  
      P_new = muda.deserialize(P_ser)
  
      assert P_orig is not P_new
      assert P_orig.get_params() == P_new.get_params()
  
file_path: muda/tests/test_core.py
imports: import tempfile
  import os
  import six
  import numpy
  import jams
  import librosa
  import muda
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_serialize_pipeline() without return types