X Tutup
Skip to content

gh-93649: Split unicode tests from _testcapimodule.c & add some more#95819

Merged
encukou merged 6 commits intopython:mainfrom
encukou:split-unicode-tests
Aug 10, 2022
Merged

gh-93649: Split unicode tests from _testcapimodule.c & add some more#95819
encukou merged 6 commits intopython:mainfrom
encukou:split-unicode-tests

Conversation

@encukou
Copy link
Member

@encukou encukou commented Aug 9, 2022

  • Move PyUnicode tests to a separate file
  • Add some more tests for PyUnicode_FromFormat

This is the refactoring & tests for existing functionality from #95505, leaving the change (and its tests) for another PR.

In addition to the changes in #95505, I made CHECK_FORMAT_* to check for SystemError when it gets NULL as the expected result. Some tests need that, as the behavior changed in #95784.

Loading
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.

6 participants

X Tutup