mirror of
https://github.com/python/cpython.git
synced 2026-01-01 13:03:56 +00:00
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
|
||
|---|---|---|
| .. | ||
| exceptions.c.h | ||
| file.c.h | ||
| float.c.h | ||
| long.c.h | ||
| vectorcall.c.h | ||
| watchers.c.h | ||