code: def test_kswin_coverage():
      with pytest.raises(ValueError):
          drift.KSWIN(alpha=-0.1)
  
      with pytest.raises(ValueError):
          drift.KSWIN(alpha=1.1)
  
      try:
          drift.KSWIN(window_size=-10)
      except ValueError:
          assert True
      else:
          assert False
      try:
          drift.KSWIN(window_size=10, stat_size=30)
      except ValueError:
          assert True
      else:
          assert False
  
file_path: river/river/drift/test_drift_detectors.py
imports: from __future__ import annotations
  import numpy
  import pytest
  from river import drift
label_desc: Use image node_id 7 for calling a global function with example usage: test_kswin_coverage() without return types