-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
PR: Add wrapper around sip/shiboken isdeleted/isvalid (compat.py) #354
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zjp for helping with this! Could it be possible to add some sort of test for this new function (in something like qtpy/tests/test_compat.py
)?
Other than this LGTM 👍
Yes, absolutely! I'll force-push some tests when I think of a good one. |
OK, I've added what I hope is a satisfactory test. |
Not entirely sure what's causing these checks to fail. I can run this test locally OK. |
Aha, if you're going quick it's easy to overlook isdeleted and isValid are semantically opposites... that should fix it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zjp for your work on this! LGTM 👍
No problem, I'm happy to contribute! |
Fixes #302
This just adds a wrapper around the sip.isdeleted and shiboken.isValid functions