code: def test_window_size(default_theme):
      with pytest.raises(ValueError):
          default_theme.window_size = [1, 2, 3]
  
      with pytest.raises(
          ValueError, match="Window size must be a positive value"
      ):
          default_theme.window_size = [-1, -2]
  
      window_size = [1, 1]
      default_theme.window_size = window_size
      assert default_theme.window_size == window_size
  
imports: import os
  import pytest
  import vtk
  import pyvista
  from pyvista import colors
  from pyvista.examples.downloads import download_file
  from pyvista.plotting.themes import DarkTheme, Theme, _set_plot_theme_from_env
  from pyvista.plotting.utilities.gl_checks import uses_egl
label_desc: Use image node_id 32 for calling a global function with example usage: test_window_size(default_theme) without return types