Skip to content

Tests for path joining in test_pathlib are misplaced #112675

Closed
@barneygale

Description

@barneygale

Pathlib originally implemented its own path joining algorithm with its own tests. Nowadays pathlib now calls through to os.path.join() (see #95450), but there's still a handful of tests for path joining remaining that are better suited to test_posixpath and test_ntpath.

Affects the test_drive_root_parts_common and test_drive_root_parts test methods.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions