mirror of https://github.com/python/cpython
e4ff131e01
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> |
||
---|---|---|
.. | ||
testmock | ||
__init__.py | ||
__main__.py | ||
_test_warnings.py | ||
dummy.py | ||
support.py | ||
test_assertions.py | ||
test_async_case.py | ||
test_break.py | ||
test_case.py | ||
test_discovery.py | ||
test_functiontestcase.py | ||
test_loader.py | ||
test_program.py | ||
test_result.py | ||
test_runner.py | ||
test_setups.py | ||
test_skipping.py | ||
test_suite.py |