You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stubtest: fix false negative with dunder methods, small changes (#8886)
* stubtest: use stub.name over runtime.__name__
Seems to be a little more reliable
* stubtest: remove unnecessary code
I can no longer repro any of the behaviour related to distutils.command.
I found one case it can come up involving builtins, but overall I think
this code is just simpler like this.
* stubtest: fix false negatives
If the stub doesn't list dunder methods, we wouldn't check them earlier.
There are a lot of false negatives due to this.
* teststubtest: add a test for the previous commit
Also covers some of the MRO logic in verify_typeinfo
Co-authored-by: hauntsaninja <>
0 commit comments