Skip to content

Some tests fail when python is compiled with --without-doc-strings #133210

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

Open
sobolevn opened this issue Apr 30, 2025 · 0 comments
Open

Some tests fail when python is compiled with --without-doc-strings #133210

sobolevn opened this issue Apr 30, 2025 · 0 comments
Assignees
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@sobolevn
Copy link
Member

sobolevn commented Apr 30, 2025

Bug report

  1. Run ./configure --without-doc-strings --with-pydebug && make
  2. Run tests with ./python.exe -m test

You will receive:

5 tests failed:
    test.test_inspect.test_inspect test.test_pydoc.test_pydoc
    test_descr test_rlcompleter test_sys

444 tests OK.

Total duration: 15 min 9 sec
Total tests: run=44,920 failures=9 skipped=2,179
Total test files: run=480/489 failed=5 skipped=31 resource_denied=9
Result: FAILURE

cc @vstinner
Refs #133167

I am fixing this right now

Linked PRs

@sobolevn sobolevn added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Apr 30, 2025
@sobolevn sobolevn self-assigned this Apr 30, 2025
sobolevn added a commit to sobolevn/cpython that referenced this issue May 1, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 1, 2025
sobolevn added a commit that referenced this issue May 1, 2025
…H-133250) (#133263)

gh-133210: Fix `test_inspect` in `--without-doc-strings` mode (GH-133250)
(cherry picked from commit 27e0114)

Co-authored-by: sobolevn <[email protected]>
sobolevn added a commit to sobolevn/cpython that referenced this issue May 1, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 2, 2025
sobolevn added a commit that referenced this issue May 2, 2025
…H-133271) (#133288)

gh-133210: Fix `test_pydoc` in `--without-doc-strings` mode (GH-133271)
(cherry picked from commit 4912b29)

Co-authored-by: sobolevn <[email protected]>
sobolevn added a commit to sobolevn/cpython that referenced this issue May 2, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 2, 2025
sobolevn added a commit that referenced this issue May 2, 2025
…H-133294) (#133298)

gh-133210: Fix `test_descr` in `--without-doc-strings` mode (GH-133294)
(cherry picked from commit ba16ba3)

Co-authored-by: sobolevn <[email protected]>
sobolevn added a commit to sobolevn/cpython that referenced this issue May 3, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 3, 2025
sobolevn added a commit that referenced this issue May 3, 2025
…ode (GH-133332) (#133348)

gh-133210: Fix `test_rlcompleter` in `--without-doc-strings` mode (GH-133332)
(cherry picked from commit 881144f)

Co-authored-by: sobolevn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant