Skip to content

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

Closed

Description

@sobolevn

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

Activity

  1. added
    testsTests in the Lib/test dir
    type-bugAn unexpected behavior, bug, or error
    on Apr 30, 2025
  2. self-assigned this
    on Apr 30, 2025
  3. added 2 commits that reference this issue on May 1, 2025
  4. added a commit that references this issue on May 1, 2025
  5. added 3 commits that reference this issue on May 1, 2025
  6. added a commit that references this issue on May 2, 2025
  7. added 3 commits that reference this issue on May 2, 2025
  8. added a commit that references this issue on May 2, 2025
  9. added a commit that references this issue on May 2, 2025
  10. 20 remaining items

  11. added a commit that references this issue on Oct 6, 2025
  12. added a commit that references this issue on Oct 6, 2025
  13. added a commit that references this issue on Oct 6, 2025
  14. efimov-mikhail commented on Oct 6, 2025

    @efimov-mikhail
    Member

    For now I have all tests passed in mode ./configure --without-doc-strings --with-pydebug on main branch and on 3.13 branch.
    But there are two tests on 3.14 branch (test_inspect and test_pydoc) which wait for some backport PRs will be being merged.

  15. StanFromIreland commented on Oct 6, 2025

    @StanFromIreland
    Member

    But there are two tests on 3.14 branch (test_inspect and test_pydoc) which wait for some backport PRs will be being merged.

    Let's leave it open till they are merged.

  16. added 3 commits that reference this issue on Oct 7, 2025
  17. added 2 commits that reference this issue on Oct 8, 2025
  18. vstinner commented on Oct 8, 2025

    @vstinner
    Member

    Let's leave it open till they are merged.

    I created the 3.14 backports and enabled auto merge on them.

  19. added 2 commits that reference this issue on Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.14bugs and security fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions