code: def test_window_size(doc_long_en):
      result_10 = kt.sgrank(doc_long_en, window_size=10)
      result_100 = kt.sgrank(doc_long_en, window_size=100)
      assert len(result_10) > 0 and len(result_100) > 0
      assert result_10 != result_100
      with pytest.raises(ValueError):
          _ = kt.sgrank(doc_long_en, window_size=1)
  
file_path: textacy/tests/extract/keyterms/test_sgrank.py
imports: import pytest
  import textacy
  from textacy.extract import keyterms
label_desc: Use image node_id 10 for calling a global function with example usage: test_window_size(doc_long_en) without return types