code: def test_draw_networkx_arrows_default_undirected(drawing_func):
      import matplotlib.collections
  
      G = nx.path_graph(3)
      fig, ax = plt.subplots()
      drawing_func(G, ax=ax)
      assert any(
          isinstance(c, mpl.collections.LineCollection)
          for c in ax.collections
      )
      assert not ax.patches
      plt.delaxes(ax)
  
imports: import itertools
  import os
  import warnings
  import pytest
  import networkx
label_desc: Use image node_id 37 for calling a global function with example usage: test_draw_networkx_arrows_default_undirected(drawing_func) without return types