def test_pretty_print_html(self):
        self.maxDiff = None
        html = pretty_print_html(_TEST_TOKS["token_span"].values)
        suffix = html[-796:]
        # print(f"[[[{suffix}]]]")
        self.assertEqual(
            suffix,
            """\
</td>
    </tr>
    <tr>
      <th>7</th>
      <td>20</td>
      <td>26</td>
      <td>7</td>
      <td>8</td>
      <td>change</td>
    </tr>
  </tbody>
</table>
        </div>
        <div id="text"
         style="float:right; background-color:#F5F5F5; border: 1px solid #E0E0E0; width: 60%;">
            <div style="float:center; padding:10px">
                <p style="font-family:monospace">
                    <span style="background-color:yellow">Item&#39;s</span> <span style="background-color:yellow">for</span> <span style="background-color:yellow">&lt;</span> <span style="background-color:yellow">&#36;100</span> <span style="background-color:yellow">&amp;</span> <span style="background-color:yellow">change
                </p>
            </div>
        </div>
    </div>
    """,
        )
 def _repr_html_(self) -> str:
     """
     HTML pretty-printing of a series of spans for Jupyter notebooks.
     """
     return util.pretty_print_html(self)