Package: python-oauthlib / 3.2.2-4

Metadata

Package Version Patches format
python-oauthlib 3.2.2-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
py313.patch | (download)

tests/oauth1/rfc5849/test_utils.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 make utilstests.test_filter_params python 3.13+ compatible

Since Python 3.13.0a1, docstrings are automatically dedented.
See https://github.com/python/cpython/issues/81283
and https://docs.python.org/3.13/whatsnew/3.13.html#other-language-changes

As a result, using a docstring with leading space as a test case
breaks the test assumption.

The initial commit which introduced this test a decade ago
(6c0c7914f3a57823834b1be492b307992f943629)
does not specify why testing the spaces is important.