Skip to content

[3.12] gh-111065: Add more tests for the C API with the PySys_ prefix (GH-111067) #111305

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

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 25, 2023

  • Move existing tests for PySys_GetObject() and PySys_SetObject() into specialized files.
  • Add test for PySys_GetXOptions() using _testcapi.
  • Add tests for PySys_FormatStdout(), PySys_FormatStderr(), PySys_WriteStdout() and PySys_WriteStderr() using ctypes.

(cherry picked from commit b2ba298)

…prefix (pythonGH-111067)

* Move existing tests for PySys_GetObject() and PySys_SetObject() into
  specialized files.
* Add test for PySys_GetXOptions() using _testcapi.
* Add tests for PySys_FormatStdout(), PySys_FormatStderr(),
  PySys_WriteStdout() and PySys_WriteStderr() using ctypes..
(cherry picked from commit b2ba298)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) October 25, 2023 08:49
@serhiy-storchaka serhiy-storchaka merged commit 54e93d3 into python:3.12 Oct 25, 2023
@serhiy-storchaka serhiy-storchaka deleted the backport-b2ba298-3.12 branch February 19, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant