code: def test_from_rows_or_ranges(self):
      expected = (
          'row_keys: "row3"\n'
          'row_keys: "row6"\n'
          "row_ranges {\n"
          '  start_key_closed: "row1"\n'
          '  end_key_closed: "row2"\n'
          "}\n"
          "row_ranges {\n"
          '  start_key_open: "row4"\n'
          '  end_key_open: "row5"\n'
          "}\n"
      )
  
      r_set = row_set.from_rows_or_ranges(
          row_range.closed_range("row1", "row2"),
          "row3",
          row_range.open_range("row4", "row5"),
          "row6",
      )
      self.assertEqual(expected, repr(r_set))
  
imports: from tensorflow_io.python.ops import core_ops
  import tensorflow_io.python.ops.bigtable.bigtable_row_range
  import tensorflow_io.python.ops.bigtable.bigtable_row_set
  from tensorflow import test
label_desc: Use image node_id 4 for calling the TestRowSet obj's underlying member method code with example usage: obj.test_from_rows_or_ranges() without return types