code: def test_edgelist_kwarg_not_ignored():
      # See gh-4994
      G = nx.path_graph(3)
      G.add_edge(0, 0)
      fig, ax = plt.subplots()
      nx.draw(
          G, edgelist=[(0, 1), (1, 2)], ax=ax
      )  # Exclude self-loop from edgelist
      assert not ax.patches
      plt.delaxes(ax)
  
imports: import itertools
  import os
  import warnings
  import pytest
  import networkx
label_desc: Use image node_id 39 for calling a global function with example usage: test_edgelist_kwarg_not_ignored() without return types