code: def test_validate_conf(kwargs):
      """Validate value error is raised with each kwargs returned by get_valid_conf_arg_list"""
      pytest.raises(ValueError, SignalSparsity, **kwargs)
  
file_path: fairscale/tests/experimental/wgit/test_signal_sparsity.py
imports: import pytest
  import torch
  from fairscale.experimental.wgit.signal_sparsity import SignalSparsity, random_sparse_mask
  from fairscale.fair_dev.testing.testing import objects_are_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_validate_conf(kwargs) without return types