Skip to content

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

@b9788213

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions