Knio / dominate

Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.
GNU Lesser General Public License v3.0
1.72k stars 108 forks source link

Update tests for docstring dedenting in Python 3.13 #202

Open mgorny opened 3 months ago

mgorny commented 3 months ago

Update the get_expected() function to account for the fact that Python 3.13 automatically dedents all the docstrings, and therefore does not require explicitly removing the indent (which effectively removes too much indent).

Fixes #199

coveralls commented 3 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 58f7d7fdb171f80ed6ce97e6ca4409723975c47f on mgorny:py313-test into 30da370bb56c88be3b728c481ae10113fe0877aa on Knio:master.