-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Test failures when CPython is built without docstrings #81682
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
Comments
test_coroutines, test_dataclasses, test_idle, test_importlib, test_module, and test_pydoc fail when CPython is built without docstrings. It seems that most of the failures occur simply because the test.support.requires_docstrings decorator is missing for some tests. See also bpo-17041. |
Bit surprised by the test_importlib failure. What has crept into there that requires docstrings? |
Also surprised by the marked dataclasses tests. I don't see anything there that requires docstrings. See my review on the PR. |
Compiling without docstrings only affects compiled functions. (Is this option unix only, for servers?) This caused failures in 6 /test test functions. Running with -00 only affects python functions. It causes failure in 19 test function on Windows. For IDLE, it causes many more failures than the configuration change. __doc__ == '' might have been less of a nuisance than == None, but too late to change that glocally now, although it can be a local solution. |
…t docstrings (pythonGH-113410) (cherry picked from commit 4e5b27e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…t docstrings (pythonGH-113410) (cherry picked from commit 4e5b27e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: