code: def test_emptybranch():
      G = nx.DiGraph()
      G.add_nodes_from(range(10))
      assert nx.is_branching(G)
      assert not nx.is_arborescence(G)
  
imports: import pytest
  import networkx
label_desc: Use image node_id 4 for calling a global function with example usage: test_emptybranch() without return types