Skip to content
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

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

Merged
merged 6 commits into from Aug 10, 2022

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.

@encukou encukou requested a review from as a code owner Aug 9, 2022
@encukou encukou added skip news 🔨 test-with-buildbots labels Aug 9, 2022
@bedevere-bot
Copy link

bedevere-bot commented Aug 9, 2022

🤖 New build scheduled with the buildbot fleet by @encukou for commit 995e666 🤖

If you want to schedule another build, you need to add the "🔨 test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots label Aug 9, 2022
@encukou encukou merged commit 325ae93 into python:main Aug 10, 2022
83 of 84 checks passed
@encukou encukou deleted the split-unicode-tests branch Aug 10, 2022
iritkatriel pushed a commit to iritkatriel/cpython that referenced this issue Aug 11, 2022
… more (pythonGH-95819)

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

Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
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.

None yet

3 participants