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

gh-93649: Move _testcapi tests to specific files #129544

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Feb 1, 2025

Move many functions from _testcapimodule.c into more specific files in Modules/_testcapi/.

In moved code:

  • Replace get_testerror() with PyExc_AssertionError.
  • Replace raiseTestError() with PyErr_Format(PyExc_AssertionError, ...).

Move many functions from _testcapimodule.c into more specific files
in Modules/_testcapi/.

In moved code:

* Replace get_testerror() with PyExc_AssertionError.
* Replace raiseTestError() with
  PyErr_Format(PyExc_AssertionError, ...).
@vstinner vstinner merged commit 71ae933 into python:main Feb 1, 2025
41 checks passed
@vstinner vstinner deleted the testcapi_split2 branch February 1, 2025 12:39
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Feb 7, 2025
Move many functions from _testcapimodule.c into more specific files
in Modules/_testcapi/.

In moved code:

* Replace get_testerror() with PyExc_AssertionError.
* Replace raiseTestError() with
  PyErr_Format(PyExc_AssertionError, ...).
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