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 weakref proxy tests on free-threaded build #4460

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

ngoldbaum
Copy link
Contributor

Credit to @colesbury who originally came up with this solution: #4265 (comment)

class A is being overwritten when tests are run concurrently. I could also fix it by calling it e.g. class B in one of the tests but not relying on implicit global state seems better.

@ngoldbaum ngoldbaum added the CI-skip-changelog Skip checking changelog entry label Aug 20, 2024
Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@davidhewitt davidhewitt added this pull request to the merge queue Aug 20, 2024
Merged via the queue into PyO3:main with commit 4fb9b86 Aug 20, 2024
42 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants