code: def test_dprnn_separator_invalid_type():
      with pytest.raises(ValueError):
          DPRNNSeparator(
              input_dim=10,
              rnn_type="rnn",
              layer=2,
              unit=10,
              dropout=0.1,
              num_spk=2,
              nonlinear="fff",
              segment_size=2,
          )
  
file_path: espnet/test/espnet2/enh/separator/test_dprnn_separator.py
imports: import pytest
  import torch
  from torch import Tensor
  from torch_complex import ComplexTensor
  from espnet2.enh.separator.dprnn_separator import DPRNNSeparator
label_desc: Use image node_id 3 for calling a global function with example usage: test_dprnn_separator_invalid_type() without return types