Skip to content

tests: avoid immortal objects in tests #5150

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Merged
merged 1 commit into from
May 30, 2024

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented May 30, 2024

Description

Follow up #5139, from #5148. Avoid immortal objects so we can track the refcounts.

Also actually compiles against 3.13t in tests, missed that in #5139, though I was doing it locally.

Suggested changelog entry:

* Avoid immortal objects in tests

Co-authored-by: Sam Gross <[email protected]>

Signed-off-by: Henry Schreiner <[email protected]>
@henryiiihenryiii force-pushed the henryiii/tests/gilup branch from 0017011 to 08e508f Compare May 30, 2024 03:32
@henryiii
Copy link
Collaborator Author

This is just a test fix for my previous PR, so will merge to rebase #5148. Can revert if there's an issue!

@henryiiihenryiii merged commit 1a0ff40 into pybind:master May 30, 2024
83 checks passed
@henryiiihenryiii deleted the henryiii/tests/gilup branch May 30, 2024 05:40
@github-actions-actions bot added the needs changelogPossibly needs a changelog entrylabel May 30, 2024
@henryiiihenryiii removed the needs changelogPossibly needs a changelog entrylabel Jun 26, 2024
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
@henryiii