-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-111495: Add tests for PyCodec_*
C API
#123343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ce7c135
add tests for C API `codecs`
picnixz f9e350a
add Python tests for `_codecs`
picnixz 15b6811
fix size bug
picnixz 8048ae1
rename test class
picnixz 8487b46
Revert "fix size bug"
picnixz 2dbe09a
Merge branch 'main' into test/c-api-codec-111495
picnixz 0097f2a
Disable tests that are known to crash.
picnixz 303b13c
address Victor's review
picnixz 4f474dd
update tests to reflect user errors
picnixz d49743c
Merge remote-tracking branch 'upstream/main' into test/c-api-codec-11…
picnixz 87ee0d2
fix C API codec tests
picnixz 6a36eb0
small hack to make the test suite correct
picnixz 145b285
remove un-necessary imports
picnixz dc9af16
Merge remote-tracking branch 'upstream/main' into test/c-api-codec-11…
picnixz 7be1f55
use `_codecs._unregister_error` to cleanup test state
picnixz f72be5c
indicate some semantics for NULL case being tested
picnixz 4d02c6c
revert a cosmetic change
picnixz 0f26ca7
Move `PyCodec_NameReplaceErrors` test to the `_testlimitedcapi` module
picnixz 1399779
add comment for why we do not test `_PyCodec_UnregisterError`
picnixz 914151e
update a comment
picnixz 8dd7e8d
revert one cosmetic change
picnixz 1e6a5ce
Fix Windows compilation
picnixz 2ba5f03
address Victor's review
picnixz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.