cpython/Lib/test/test_pathlib
Barney Gale 809eed4805
GH-114610: Fix pathlib._abc.PurePathBase.with_suffix('.ext') handling of stems (#114613)
Raise `ValueError` if `with_suffix('.ext')` is called on a path without a
stem. Paths may only have a non-empty suffix if they also have a non-empty
stem.

ABC-only bugfix; no effect on public classes.
2024-01-30 14:25:16 +00:00
..
__init__.py
test_pathlib.py GH-114610: Fix pathlib._abc.PurePathBase.with_suffix('.ext') handling of stems (#114613) 2024-01-30 14:25:16 +00:00
test_pathlib_abc.py GH-114610: Fix pathlib._abc.PurePathBase.with_suffix('.ext') handling of stems (#114613) 2024-01-30 14:25:16 +00:00