Skip to content

Test with the path protocol, not with pathlib.Path #119064

Closed

Description

@serhiy-storchaka

A number of tests use pathlib.Path to test that the code supports path-like objects. They should use a special object that only implements the path protocol instead. This will avoid unintentional dependency on other pathlib.Path methods and attributes and allow to test path-like objects with the bytes path.

Linked PRs

Activity

  1. added
    tests
    3.12
    3.13
    3.14
    on May 15, 2024
  2. added 4 commits that reference this issue on May 15, 2024
  3. added a commit that references this issue on May 16, 2024
  4. added 4 commits that reference this issue on May 16, 2024
  5. added a commit that references this issue on May 16, 2024
  6. added a commit that references this issue on Jul 17, 2024
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

    3.123.133.14tests

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions