-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Reorganize C API tests #78453
Comments
The proposed PR reorganizes C API tests. Most C API tests will be moved into the new directory Lib/test/test_capi/. |
It seems to me that this will make the individual objects and modules harder to maintain. I expect to find all the tests for an object in a file called test_thatobject.py. This patch violates that expectation and separates things that belong together. |
Not all C API tests are related to specific type or module. What about moving just test_capi.py, test_getargs2.py and test_structmembers.py? |
PR 8567 moves argument parsing tests from test_capi to test_getargs2. It also makes tests defined in _testcapi more discoverable. Now you can run "./python -m test -v -m test_buildvalue_N test_capi". |
…test_capi.test_unicode (pythonGH-99431). (cherry picked from commit 06d4e02) Co-authored-by: Serhiy Storchaka <[email protected]>
…test_capi.test_unicode (pythonGH-99431). (cherry picked from commit 06d4e02) Co-authored-by: Serhiy Storchaka <[email protected]>
…api.test_unicode (GH-99431). (GH-99617) (cherry picked from commit 06d4e02) Co-authored-by: Serhiy Storchaka <[email protected]>
Is there anything left to do here? |
Plenty. |
See also issue gh-93649. |
The tests were re-organized, extended, updated and re-re-organized many times. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: