code: def test_filter_paragraph(self):
      for bad in tf.io.gfile.glob(
          os.path.join(_TESTDATA, "para_bad*.txt")
      ):
          for p in _get_testdata(bad).split("\n"):
              self.assertTrue(
                  utils.filter_paragraph(p), msg="Didn't filter %s" % p
              )
      for good in tf.io.gfile.glob(
          os.path.join(_TESTDATA, "para_good*.txt")
      ):
          for p in _get_testdata(good).split("\n"):
              p = _get_testdata(good)
          self.assertFalse(
              utils.filter_paragraph(p), msg="Filtered %s" % p
          )
  
file_path: tensor2tensor/tensor2tensor/data_generators/wikisum/utils_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from tensor2tensor.data_generators.wikisum import utils
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_filter_paragraph() without return types