code: def test_graph_power_negative():
      with pytest.raises(ValueError):
          nx.power(nx.Graph(), -1)
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 25 for calling a global function with example usage: test_graph_power_negative() without return types