Skip to content

Missing return value validation in pathlib's write_text and write_bytes tests #143866

Closed

Description

@b9788213

While reviewing the pathlib test suite in Lib/test/test_pathlib.py, I noticed that the return values of write_text() and write_bytes() are not being validated. Currently, they do not check if the methods correctly return the number of bytes written. I'm interested in fixing this. May I be assigned to this issue?

Linked PRs

Activity

  1. added a commit that references this issue on Jan 15, 2026
  2. aisk commented on Jan 15, 2026

    @aisk
    Member

    Hi, generally we don’t assign issues to a specific person unless certain conditions are met. You can start working on it if no one else is currently working on it.

  3. added a commit that references this issue on Jan 16, 2026
  4. added 2 commits that reference this issue on Jan 19, 2026
  5. added a commit that references this issue on Jan 19, 2026
  6. added 2 commits that reference this issue on Jan 19, 2026
  7. added a commit that references this issue on Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions