code: def test_window_1d(size):
      w = window("hann", size)
      w1 = get_window("hann", size, fftbins=False)
      assert np.allclose(w, w1)
  
file_path: scikit-image/skimage/filters/tests/test_window.py
imports: import numpy
  import pytest
  from scipy.signal import get_window
  from skimage.filters import window
label_desc: Use image node_id 5 for calling a global function with example usage: test_window_1d(size) without return types