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

Fix minor oversight in pywrapcc#30088 (test code only). #30092

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

rwgk
Copy link
Contributor

@rwgk rwgk commented Jan 22, 2024

Description

This is to enable running the test multiple times (e.g. for leak checking), or for compatibility with options such as --runs_per_test.

This PR makes the pybind11 test similar to the corresponding PyCLIF test:

Suggested changelog entry:

This is to enable running the test multiple times (e.g. for leak checking), or for compatibility with options such as `--runs_per_test`.

This PR makes the pybind11 test similar to the corresponding PyCLIF test:

https://github.com/google/clif/blob/e0f4bf60933973b98ddb971750a9929348f84bc2/clif/testing/class_release_gil_before_calling_cpp_dtor.h#L51-L59
@rwgk rwgk marked this pull request as ready for review January 22, 2024 20:02
@rwgk rwgk merged commit 47b666d into google:main Jan 22, 2024
147 checks passed
@rwgk rwgk deleted the PopPyGILState_Check_Result branch January 22, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants