cpython/Lib/test/test_zoneinfo
Barney Gale e4ff131e01
GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths (#113829)
On Windows, `os.path.isabs()` now returns `False` when given a path that
starts with exactly one (back)slash. This is more compatible with other
functions in `os.path`, and with Microsoft's own documentation.

Also adjust `pathlib.PureWindowsPath.is_absolute()` to call
`ntpath.isabs()`, which corrects its handling of partial UNC/device paths
like `//foo`.

Co-authored-by: Jon Foster <jon@jon-foster.co.uk>
2024-01-13 07:36:05 +00:00
..
data
__init__.py gh-110974: Make sure all test_zoneinfo tests are collected (GH-110975) 2023-10-21 14:26:03 +03:00
__main__.py
_support.py
test_zoneinfo.py GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths (#113829) 2024-01-13 07:36:05 +00:00
test_zoneinfo_property.py GH-86275: Implementation of hypothesis stubs for property-based tests, with zoneinfo tests (#22863) 2023-05-12 08:35:53 -04:00