code: def test_is_regular_expander_badinput():
      pytest.importorskip("numpy")
      pytest.importorskip("scipy")
  
      with pytest.raises(
          nx.NetworkXError, match="epsilon must be non negative"
      ):
          nx.is_regular_expander(nx.Graph(), epsilon=-1)
  
file_path: networkx/networkx/generators/tests/test_expanders.py
imports: import pytest
  import networkx
label_desc: Use image node_id 13 for calling a global function with example usage: test_is_regular_expander_badinput() without return types