summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapi/run.c
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] gh-117968: Make the test for closed file more safe in the C API tests ↵Miss Islington (bot)2024-04-251-2/+4
| | | | | | | | | | | (GH-118230) (GH-118266) The behavior of fileno() after fclose() is undefined, but it is the only practical way to check whether the file was closed. Only test this on the known platforms (Linux, Windows, macOS), where we already tested that it works. (cherry picked from commit 546cbcfa0eeeb533950bd49e30423f3d3bbd5ebe) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-117968: Add tests for the part of the PyRun family of the C API ↵Serhiy Storchaka2024-04-221-0/+113
(GH-117982) (GH-118011) (cherry picked from commit 6078f2033ea15a16cf52fe8d644a95a3be72d2e3) Co-authored-by: NGRsoftlab <78017794+NGRsoftlab@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>