class_docstr: Parser for use in testing HTML rendering of tables.
class_docstr_tok: ["Parser","for","use","in","testing","HTML","rendering","of","tables","."]
code: def handle_starttag(self, tag, attrs):
      if tag == "table":
          self._in_table = True
          return
  
      if tag == "thead":
          self._in_thead = True
          return
  
      if tag == "tbody":
          self._in_tbody = True
          return
  
      if tag == "tr":
          self._current_row = []
          return
  
      if tag in ("td", "th"):
          self._in_cell = True
          return
  
file_path: agate/tests/test_table/test_print_html.py
imports: import warnings
  from html.parser import HTMLParser
  from io import StringIO
  from agate import Table
  from agate.data_types import Number, Text
  from agate.testcase import AgateTestCase
label_desc: Use image node_id 2 for calling the TableHTMLParser obj's underlying member method code with example usage: obj.handle_starttag(tag, attrs) without return types