code: def test_window_invalid_shape():
      with pytest.raises(ValueError):
          window(10, shape=(-5, 10))
      with pytest.raises(ValueError):
          window(10, shape=(1.3, 2.0))
  
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 6 for calling a global function with example usage: test_window_invalid_shape() without return types