code: def test_noncomparable_nodes():
      node1 = object()
      node2 = object()
      node3 = object()
  
      # Graph
      G = nx.path_graph([node1, node2, node3])
      gm = iso.GraphMatcher(G, G)
      assert gm.is_isomorphic()
      # Just testing some cases
      assert gm.subgraph_is_monomorphic()
  
      # DiGraph
      G = nx.path_graph([node1, node2, node3], create_using=nx.DiGraph)
      H = nx.path_graph([node3, node2, node1], create_using=nx.DiGraph)
      dgm = iso.DiGraphMatcher(G, H)
      assert dgm.is_isomorphic()
      # Just testing some cases
      assert gm.subgraph_is_monomorphic()
  
imports: import importlib.resources
  import os
  import random
  import struct
  import networkx
  from networkx.algorithms import isomorphism
label_desc: Use image node_id 8 for calling a global function with example usage: test_noncomparable_nodes() without return types