code: def test_all_pairs_lca_gold_example(self):
      self.assert_lca_dicts_same(
          dict(all_pairs_lca(self.DG)), self.gold
      )
  
imports: from itertools import chain, combinations, product
  import pytest
  import networkx
label_desc: Use image node_id 3 for calling the TestDAGLCA obj's underlying member method code with example usage: obj.test_all_pairs_lca_gold_example() without return types