summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapi/file.c
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-111495: Add PyFile tests (#129449) (#129477)Victor Stinner2025-01-301-5/+25
| | | | | | | | | | | | | | | | | | gh-111495: Add PyFile tests (#129449) Add tests for the following functions in test_capi.test_file: * PyFile_FromFd() * PyFile_GetLine() * PyFile_NewStdPrinter() * PyFile_WriteObject() * PyFile_WriteString() * PyObject_AsFileDescriptor() Add Modules/_testlimitedcapi/file.c file. Remove test_embed.StdPrinterTests which became redundant. (cherry picked from commit 4ca9fc08f89bf7172d41e523d9e520eb1729ee8c)
* gh-111495: add stub files for C API test modules (GH-111586)Sergey B Kirpichev2023-11-011-0/+17
This is to reduce merge conflicts (Modules/Setup.stdlib.in) for subsequent pull requests for the issue.