class_docstr: Tests :func:`texar.tf.data.data_utils.count_file_lines`.
      
class_docstr_tok: ["Tests",":","func",":","`","texar.tf.data.data_utils.count_file_lines","`","."]
docstr: Tests the load_glove function.
          
docstr_tok: ["Tests","the","load_glove","function","."]
code: def test_load_glove(self):
      """Tests the load_glove function."""
      file_1 = tempfile.NamedTemporaryFile(mode="w+")
      num_lines = data_utils.count_file_lines(file_1.name)
      self.assertEqual(num_lines, 0)
  
      file_2 = tempfile.NamedTemporaryFile(mode="w+")
      file_2.write("\n".join(["x"] * 5))
      file_2.flush()
      num_lines = data_utils.count_file_lines(
          [file_1.name, file_2.name, file_2.name]
      )
      self.assertEqual(num_lines, 0 + 5 + 5)
  
imports: import tempfile
  import tensorflow
  from texar.tf.data import data_utils
label_desc: Use image node_id 1 for calling the CountFileLinesTest obj's underlying member method code with example usage: obj.test_load_glove() without return types