SIGN IN SIGN UP

[3.12] GH-125866: Improve tests for `pathname2url()` and `url2pathname()` (GH-125993) (#126145)

GH-125866: Improve tests for `pathname2url()` and `url2pathname()` (GH-125993)

Merge `URL2PathNameTests` and `PathName2URLTests` test cases (which test
only the Windows-specific implementations from `nturl2path`) into the main
`Pathname_Tests` test case for these functions.

Copy/port some test cases for `pathlib.Path.as_uri()` and `from_uri()`.
(cherry picked from commit 6742f14dfd3fa8ba8a245efa21a4f723160d93d4)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
M
Miss Islington (bot) committed
b267b6241b8ac9eb6ceb4c65aaf4341d7e54510e
Parent: db0a1b8
Committed by GitHub <noreply@github.com> on 10/29/2024, 9:02:12 PM