Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner 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, ...).
@vstinnervstinner merged commit 71ae933 into python:mainFeb 1, 2025
41 checks passed
@vstinnervstinner 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 freeto 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.

1 participant

@vstinner