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-124570: ctypes: Run some Structure tests on Union as well #124976

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

encukou
Copy link
Member

@encukou encukou commented Oct 4, 2024

  • Move some Structure tests to test_structunion; use a common base test class + two subclasses to run them on Union too
  • Remove test_union for now as it's redundant

Note: test_simple_structs & test_simple_unions are in the common file because they share formats.

- Move some Structure tests to test_structunion; use a common base
  test class + two subclasses to run them on Union too
- Remove test_union for now as it's redundant

Note: `test_simple_structs` & `test_simple_unions` are in the common
file because they share `formats`.
@picnixz
Copy link
Member

picnixz commented Oct 7, 2024

Ok, so the diff is very hard to review, so I'm just going to straight out ask:

  • Are there some parts of the code that you want me to review / have a look at?
  • How long would you be willing to wait for my review :')?

@encukou
Copy link
Member Author

encukou commented Oct 8, 2024

I think I'll take a thorough look that I didn't drop any test, and merge, leaving you to review some more complex logic elsewhere :)
Thanks for taking a look, anyway!

@picnixz picnixz removed their request for review October 8, 2024 10:57
@encukou encukou merged commit 01fc3b3 into python:main Oct 10, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants