Skip to content

gh-111942: Fix test_io test_constructor() #112067

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

Closed
wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 14, 2023

The error handler is not tested in the _io extension. It's only tested if Python is built in debug mode (Py_DEBUG) or if the Python Development Mode (-X dev) is enabled.

The error handler is not tested in the _io extension. It's only
tested if Python is built in debug mode (Py_DEBUG) or if the Python
Development Mode (-X dev) is enabled.
@vstinner
Copy link
Member Author

Oh, @serhiy-storchaka already proposed #112061

@vstinner
Copy link
Member Author

#112061 was merged instead.

@vstinner vstinner closed this Nov 14, 2023
@vstinner vstinner deleted the fix_test_io branch November 14, 2023 20:25
@vstinner
Copy link
Member Author

Oh. The backport to 3.12 failed because _PyUnicode_AsUTF8NoNUL() only exists in the main branch :-(

@hugovk hugovk removed needs backport to 3.12 only security fixes needs backport to 3.11 only security fixes labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants