Skip to content

fix wrong logic for assert_alldead#2503

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:fix-test-logic
Oct 26, 2022
Merged

fix wrong logic for assert_alldead#2503
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:fix-test-logic

Conversation

@pijyoi
Copy link
Copy Markdown
Contributor

@pijyoi pijyoi commented Oct 26, 2022

#2502 introduced a bug when relaxing the test criteria for pass.
It would have passed, for example, numpy arrays that were still alive.

the previous logic would have wrongly passed non-QObjects.
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Oct 26, 2022

I should have caught that as well, sorry about that! Thanks for the prompt follow up @pijyoi

@j9ac9k j9ac9k merged commit 766f245 into pyqtgraph:master Oct 26, 2022
@pijyoi
Copy link
Copy Markdown
Contributor Author

pijyoi commented Oct 26, 2022

The fault is entirely mine...

@pijyoi pijyoi deleted the fix-test-logic branch October 26, 2022 20:06
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Oct 26, 2022

The fault is entirely mine...

"entirely": not even remotely true. You didn't press the green merge button anyway not like I haven't merged my own bugs into the repo before 😬

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