-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add missing tests #4
Add missing tests #4
Conversation
bdfa7bb
to
898114d
Compare
Thanks for the commit. Can you also make the CI green with your additions ? That's the point of the tests ... they should succeed |
Can you rebase on the latest main ? That should make your tests successful |
38d3681
to
64cf838
Compare
Done. Sorry about not investigating the tests. I've been out of time lately. |
I'll merge as it is and fix it afterwards |
Ok, you highlighted a mistake of mine. It took me several days to get the signature of Slot() right so that it typechecks correctly the method arguments and return value. But ... I did my tests on function slots instead of class methods. And it makes a big difference, thanks for highlighting it. It is now fixed. |
Thank you for the observation. I also had a look in the error messages and saw something that may be important. The first error tells that there is no overload that matches the types, but it seems not catching the correct signatures of "static methods" (lines
By changing the line (static method): self.connect(self,SIGNAL('clicked()'),self.my_slot_no_arg) to self.connect(SIGNAL('clicked()'),self.my_slot_no_arg) I got the test passing in local environment |
Add tests required in comment originally posted by @bluebird75 in #3 (comment)