code: def test_mixed_nodetypes():
      # Smoke test to make sure no TypeError is raised for mixed node types.
      G = nx.Graph()
      edgelist = [(0, 3, [("weight", 5)]), (0, "1", [("weight", 5)])]
      G.add_edges_from(edgelist)
      G = G.to_directed()
      x = branchings.minimum_spanning_arborescence(G)
  
imports: import math
  from operator import itemgetter
  import pytest
  import networkx
  from networkx.algorithms.tree import branchings, recognition
label_desc: Use image node_id 27 for calling a global function with example usage: test_mixed_nodetypes() without return types