cpython/Modules/_testlimitedcapi
Victor Stinner 4ca9fc08f8
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.
2025-01-30 18:05:32 +01:00
..
clinic gh-111495: Add PyFile tests (#129449) 2025-01-30 18:05:32 +01:00
abstract.c
bytearray.c
bytes.c
codec.c gh-111495: Add tests for PyCodec_* C API (#123343) 2024-09-29 15:22:39 +00:00
complex.c
dict.c
eval.c
file.c gh-111495: Add PyFile tests (#129449) 2025-01-30 18:05:32 +01:00
float.c
heaptype_relative.c gh-123465: Allow Py_RELATIVE_OFFSET for __*offset__ members (GH-123474) 2024-09-05 14:14:05 +02:00
import.c gh-128911: Add tests on the PyImport C API (#128915) 2025-01-17 17:52:18 +00:00
list.c
long.c gh-120389: Add PyLong_FromInt64() and PyLong_AsInt64() (#120390) 2024-08-28 10:16:13 +00:00
object.c
parts.h gh-111495: Add PyFile tests (#129449) 2025-01-30 18:05:32 +01:00
pyos.c
set.c
sys.c
testcapi_long.h
tuple.c
unicode.c gh-124502: Add PyUnicode_Equal() function (#124504) 2024-10-07 21:24:53 +00:00
util.h
vectorcall_limited.c gh-123465: Allow Py_RELATIVE_OFFSET for __*offset__ members (GH-123474) 2024-09-05 14:14:05 +02:00
version.c gh-128629: Add Py_PACK_VERSION and Py_PACK_FULL_VERSION (GH-128630) 2025-01-09 11:10:28 +01:00