code: def test_read_html(df_lib, nrows):
      HTML_DOCUMENT = """
      <!DOCTYPE html>
      <html>
      <head><title>TITLE</title></head>
      <body>
      <table>
      <th><td>Col 1</td><td>Col 2</td></th>
      <tr><td>1</td><td>2</td></tt>
      </table>
      </body>
      </html>
      """
  
      kwargs = {}
      if not nrows:
          kwargs["nrows"] = nrows
  
      read_html(HTML_DOCUMENT, df_lib, **kwargs)
  
imports: import functools
  import json
  import logging
  import numpy
  import pandas
  import pytest
  from fsspec.config import conf
  from ludwig.api import LudwigModel
  from ludwig.data.cache.types import CacheableDataframe
  from ludwig.data.dataset_synthesizer import build_synthetic_dataset_df
  from ludwig.utils.data_utils import add_sequence_feature_column, figure_data_format_dataset, get_abs_path, hash_dict, NumpyEncoder, PANDAS_DF, read_csv, read_html, read_parquet, sanitize_column_names, use_credentials
  from tests.integration_tests.utils import private_param
label_desc: Use image node_id 10 for calling a global function with example usage: test_read_html(df_lib, nrows) without return types