cpython/Lib/test/test_unittest
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
..
testmock gh-113569: Display calls in Mock.assert_has_calls failure when empty (GH-113573) 2024-01-04 21:11:34 +02:00
__init__.py
__main__.py
_test_warnings.py
dummy.py
support.py
test_assertions.py gh-68968: Correcting message display issue with assertEqual (#103937) 2023-05-04 16:37:17 -06:00
test_async_case.py gh-110774: allow setting the Runner(loop_factory=...) from IsolatedAsyncioTestCase (#110776) 2023-10-31 15:03:54 -07:00
test_break.py
test_case.py gh-68968: Correcting message display issue with assertEqual (#103937) 2023-05-04 16:37:17 -06:00
test_discovery.py gh-106584: Fix exit code for unittest in Python 3.12 (#106588) 2023-09-22 14:26:27 +02:00
test_functiontestcase.py
test_loader.py gh-84867: Do not load tests from TestCase and FunctionTestCase (GH-100497) 2023-09-12 16:33:30 +03:00
test_program.py GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths (#113829) 2024-01-13 07:36:05 +00:00
test_result.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_runner.py gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737) 2023-08-16 12:20:42 +03:00
test_setups.py
test_skipping.py gh-106584: Fix exit code for unittest in Python 3.12 (#106588) 2023-09-22 14:26:27 +02:00
test_suite.py