Skip to content

[Python] More explicit identity comparisons in tests#21614

Open
guitargeek wants to merge 2 commits intoroot-project:masterfrom
guitargeek:assert_is
Open

[Python] More explicit identity comparisons in tests#21614
guitargeek wants to merge 2 commits intoroot-project:masterfrom
guitargeek:assert_is

Conversation

@guitargeek
Copy link
Contributor

@guitargeek guitargeek commented Mar 16, 2026

This follows up on a6e780e, doing the same change for most remaining and uncontroversial cases.

This follows up on a6e780e, doing the same change for most remaining
and uncontroversial cases.
We should avoid equality comparisons between C++ proxies of different
types, as their results can unexpectedly differ from C++ semantics.
@github-actions
Copy link

Test Results

    21 files      21 suites   3d 0h 55m 27s ⏱️
 3 809 tests  3 808 ✅ 1 💤 0 ❌
73 047 runs  73 038 ✅ 9 💤 0 ❌

Results for commit db350b4.

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.

1 participant