code: def test_encoder_invalid_windows_parameter():
      pytest.importorskip("longformer")
      with pytest.raises(ValueError):
          LongformerEncoder(20, attention_windows=[1, 1], num_blocks=4)
      with pytest.raises(ValueError):
          LongformerEncoder(20, attention_dilation=[1, 1], num_blocks=4)
  
imports: import pytest
  import torch
  from espnet2.asr.encoder.longformer_encoder import LongformerEncoder
label_desc: Use image node_id 3 for calling a global function with example usage: test_encoder_invalid_windows_parameter() without return types