Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust test_wrapped_name_and_docs for Python 3.13 #619

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

musicinmybrain
Copy link
Contributor

In Python 3.13, the bytecode compiler now strips indentation from docstrings; see https://docs.python.org/3.13/whatsnew/3.13.html#other-language-changes.

Rather than conditionalizing based on the interpreter version, I adjusted the test to match the docstring with or without indentation.

After this PR, all tests pass in tox -e py313. I didn’t try tox -e py313-scipy since scipy doesn’t yet publish binary wheels for Python 3.13 and it is difficult to build from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant