code: def test_mutable_window(self, padtype, xp, scp):
      # Test that a mutable window is not modified
      impulse = xp.zeros(3)
      window = xp.random.RandomState(0).randn(2)
      scp.signal.resample_poly(
          impulse, 5, 1, window=window, padtype=padtype
      )
      # assert_array_equal(window, window_orig)
      return window
  
imports: import cupy
  from cupy import testing
  import cupyx.scipy.signal
  import cupyx.scipy.signal.windows
  import numpy
  import pytest
  from math import gcd
label_desc: Use image node_id 5 for calling the TestResample obj's underlying member method code with example usage: obj.test_mutable_window(padtype, xp, scp) and returns: window