FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-155742: Add tests on the PyMarshal C API by vstinner · Pull Request #156890 · python/cpython · GitHub

Repository navigation

gh-155742: Add tests on the PyMarshal C API - #156890

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:testcapi_marshal
Closed

vstinner wants to merge 1 commit into
python:mainfrom
vstinner:testcapi_marshal

Conversation

vstinner commented Sep 3, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Add Lib/test/test_capi/test_marshal.py and
Modules/_testcapi/marshal.c files.

Add Lib/test/test_capi/test_marshal.py and
Modules/_testcapi/marshal.c files.

vstinner commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

cc @serhiy-storchaka

serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Lib/test/test_marshal.py already contains CAPI_TestCase, which tests the same functions with helpers in Modules/_testcapimodule.c -- all except PyMarshal_ReadObjectFromString() and PyMarshal_WriteObjectToString().

vstinner commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

Lib/test/test_marshal.py already contains CAPI_TestCase

Oh no, I missed these tests :-( I will try to merge my tests with these ones.

Copy link
Copy Markdown
Member

Look also at #155909.

Copy link
Copy Markdown
Member Author

I will write a PR to include my added tests to marshal C API tests, but first I wrote PR gh-157417 to move these tests to the new test_capi.test_marshal.

Copy link
Copy Markdown
Member Author

I merged the new and more complete tests as PR gh-157452. I close this PR.

vstinner closed this Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL