docstr: Tests pack_nbrs() with an empty second argument (neighbor examples).
  
  In this case, the edge A-->B is dangling because there will be no Example
  named "B" in the input.
docstr_tok: ["Tests","pack_nbrs","(",")","with","an","empty","second","argument","(","neighbor","examples",")",".","In","this","case",",","the","edge","A","--",">","B","is","dangling","because","there","will","be","no","Example","named","``","B","''","in","the","input","."]
code: def testDirectedGraphUnlimitedNbrsNoNeighborExamples(self):
      """Tests pack_nbrs() with an empty second argument (neighbor examples).
  
      In this case, the edge A-->B is dangling because there will be no Example
      named "B" in the input.
      """
      pack_nbrs_lib.pack_nbrs(
          self._training_examples_path,
          "",
          self._graph_path,
          self._output_nsl_training_data_path,
          add_undirected_edges=False,
      )
      expected_nsl_train_data = {
          # Node A has only one neighbor, namely C.
          "A": _augmented_a_directed_one_nbr(),
          # C has no neighbors in the directed case.
          "C": _augmented_c_directed(),
      }
      actual_nsl_train_data = _read_tfrecord_examples(
          self._output_nsl_training_data_path
      )
      self.assertDictEqual(
          actual_nsl_train_data, expected_nsl_train_data
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from neural_structured_learning.tools import graph_utils
  from neural_structured_learning.tools import pack_nbrs
  import tensorflow
  from google.protobuf import text_format
label_desc: Use image node_id 3 for calling the PackNbrsTest obj's underlying member method code with example usage: obj.testDirectedGraphUnlimitedNbrsNoNeighborExamples() without return types