-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-35252: Remove FIXME from 8000 test_functools #10551
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
Conversation
…on of a test that would only work fine after PEP560 implementation
Hi @lysnikolaou, thanks for noticing this! You can see why the test fail by running
When using type hints, one can give both a type like
The test checks that the correct exception |
Hi @remilapeyre, thanks a lot for your help. I now have a better picture of what the code does, but I'm still not exactly sure what needs to be done here. Would it be best to just turn the Maybe delete the whole block of code? |
@remilapeyre maybe got some time to give me a bit more info about what I need to do? |
Hi @lysnikolaou, thanks for the ping. For the present PR, I think the test and it's the code at https://github.com/python/cpython/blob/master/Lib/functools.py#L833-L849 that needs fixing to raise Does this make sense? |
It does make a lot of sense @remilapeyre. Thanks a bunch for the help. I have now updated my PR. |
Thanks @lysnikolaou, I'm currently blocked by https://bugs.python.org/issue36432 but will make a review as soon as I can. |
I forgot, this change will need a news entry, you can add one using https://blurb-it.herokuapp.com/ |
Thanks @remilapeyre, let me know in case I can do anything to help make it easier for you. |
Pinging for review. |
Thanks! ✨ 🍰 ✨ |
The FIXME was stopping execution of a test that would only work fine after PEP560 implementation. Now that the PEP is implemented the FIXME should be deleted.
https://bugs.python.org/issue35252