code: def test_graph_power_raises():
      with pytest.raises(nx.NetworkXNotImplemented):
          nx.power(nx.MultiDiGraph(), 2)
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 23 for calling a global function with example usage: test_graph_power_raises() without return types