commit | b5f7777cb3ecae02d49e0b348968c1ff1ffe21f4 | [log] [tgz] |
---|---|---|
author | Barney Gale <barney.gale@gmail.com> | Wed Oct 11 04:45:11 2023 +0100 |
committer | GitHub <noreply@github.com> | Wed Oct 11 04:45:11 2023 +0100 |
tree | d73d8a086ed6c573d00c7b541c72bbbeb5ea5206 | |
parent | 790ecf6302e47b84da5d1c3b14dbdf070bce615b [diff] |
GH-110488: Fix two small issues in `pathlib.PurePath.with_name()` (#110651) Ensure that `PurePath('foo/a').with_name('.')` raises `ValueError` Ensure that `PureWindowsPath('foo/a').with_name('a:b')` does not raise `ValueError`.