GH-103379: Fix up old tests for `pathlib.PurePath._parse_path` by barneygale · Pull Request #103380 · python/cpython

barneygale · GitHub

@barneygale

These tests now make assertions about the public `PurePath.drive`, `root` and `parts` attributes, rather than an internal method. They're moved out of the `_BaseFlavourTest`, `PosixFlavourTest` and `NTFlavourTest` classes, which are removed. Closed

Merged

@barneygale
terryjreedy
terryjreedy
@terryjreedy

terryjreedy

changed the title GH-103379: Fix up old tests for pathlib.PurePath._parse_parts()GH-103379: Fix up old tests for pathlib.PurePath._parse_path

Apr 8, 2023

@barneygale
terryjreedy
@barneygale
@terryjreedy

Co-authored-by: Terry Jan Reedy <[email protected]>

@barneygale
AlexWaygood
@barneygale

warsaw

pushed a commit to warsaw/cpython that referenced this pull request

Apr 11, 2023

aisk

pushed a commit to aisk/cpython that referenced this pull request

Apr 18, 2023