zopefoundation / zope.interface

Interfaces for Python
http://zopeinterface.readthedocs.io/
Other
330 stars 71 forks source link

Make test_document compatible with Python 3.13 #281

Closed frenzymadness closed 10 months ago

frenzymadness commented 10 months ago

In Python 3.13, compiler strips indents from docstrings. See https://github.com/python/cpython/issues/81283

Fixes: https://github.com/zopefoundation/zope.interface/issues/279

icemac commented 10 months ago

Thank you for this PR. I am going to merge it even though we do not yet run tests on Python 3.13 in GHA.