code: def test_mixed_type_disjoint_union():
      with pytest.raises(nx.NetworkXError):
          G = nx.Graph()
          H = nx.MultiGraph()
          I = nx.Graph()
          U = nx.disjoint_union_all([G, H, I])
      with pytest.raises(nx.NetworkXError):
          X = nx.Graph()
          Y = nx.DiGraph()
          XY = nx.disjoint_union_all([X, Y])
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 13 for calling a global function with example usage: test_mixed_type_disjoint_union() without return types